文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>字符串列表简写qw

字符串列表简写qw

时间:2006-12-30  来源:hunter_cao

#############################################################
# qw 表示“quoted words”或者“quoted by whitespace”.
# qw中包含的字符串,当作单引号字符串处理.转义字符,空格等也就失去了意思.
# 分界符不可同时用,有开分界符就有一个对应的闭分界符.
#############################################################
#!/usr/bin/perl -w
#其中分界符包含在如下事例中:
print qw(one two three),"\n";
print qw!one two three!,"\n";
print qw#one two three#,"\n";
print qw{one two three},"\n";
print qw[one two three],"\n";
print qw<one two three>,"\n";
相关阅读 更多 +
排行榜 更多 +
Unity Connect

Unity Connect

学习教育 下载
青橙记录本

青橙记录本

商务办公 下载
脑洞惊魂夜

脑洞惊魂夜

休闲益智 下载