perl 的while循环 作者: · 分类:Linux 15 1月 2012 格式: while (条件) { 语句; } 例子: $i = 0; while ($i <10) { $i += 1; print $i; }