I think the following is equivalent to your code:
while( my $line = <FH> ) { while (1) { chomp( $line ); last if $line !~ /^#/; } print "Doesn't begin with #\n"; }
In reply to Re: Does perl 5.8.2 have a bug with 'redo' statement
by 7stud
in thread Does perl 5.8.2 have a bug with 'redo' statement
by Mubby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |