while (<READ_FILE>) { if ($cur_code == $area_code) { //Some logic here } else{ $cur_code = $area_code; if($first_time == 1){ $first_time = 0; next; # not last } } } continue { print "Hello"; }
perldoc -f continue, perldoc perlsyn
In reply to Re: Question about last statement
by ccn
in thread Question about last statement
by perl_krish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |