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..
相关阅读 更多 +
排行榜 更多 +