摘要:
loops are used for repeating codeeg: while(condition){ statement1; statement2;}perl provide two basic types of loopswhile/until loopsfor/foreach loopswhile.pl#!/usr/bin/perluse strict;use warnings;main(@ARGV);sub main{ open(FH, "linesfile.txt"); while(my $line = <FH>){# message(" 阅读全文
posted @ 2012-02-19 20:18
韩英武
阅读(389)
评论(0)
推荐(0)
浙公网安备 33010602011771号