Cheers - L~Rmy $flag = 0; while ( <INPUT> ) { chomp; if ( /pattern/ ) { $flag = 1; next; } next if ! $flag; # what you want to do goes here }
In reply to Re: Processing lines after a pattern in a while loop
by Limbic~Region
in thread Processing lines after a pattern in a while loop
by NovMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |