Another way to do it:
my $line; while ( <> ) { if ( /LUN 40/ ) { $line = $. + 2; } if ( $line == $. ) { print; } }
In reply to Re: trying to do a parse based on starting position.
by jwkrahn
in thread trying to do a parse based on starting position.
by luckenbach
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |