文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>perl while

perl while

时间:2010-11-06  来源:hjjie2006

#!/usr/bin/perl

$counter=0;

while ($counter <= 10 ) {

print "$counter..\n";

$counter++;
}

Output

[root@localhost 001]# perl while.plx
0..
1..
2..
3..
4..
5..
6..
7..
8..
9..
10..

 

相关阅读 更多 +
排行榜 更多 +
侠盗女孩

侠盗女孩

动作格斗 下载
终极竞速赛

终极竞速赛

动作格斗 下载
剥皮大师

剥皮大师

休闲益智 下载