for( my $i = 0; $i <= $#lines; $i++ ) {
would be better written:
for my $i (0 .. $#lines) {
In reply to Re^2: Modifying 'next' in foreach loop
by GrandFather
in thread Modifying 'next' in foreach loop
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |