文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
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..

 

相关阅读 更多 +
排行榜 更多 +
僵尸火车

僵尸火车

飞行射击 下载
飞机大战雷霆战机

飞机大战雷霆战机

飞行射击 下载
lonewolf

lonewolf

飞行射击 下载