while( <IN> ) { if( /zagnork/ ) { print scalar <IN> for 1..5; } } [download]
In reply to Re: range of lines by Fletch in thread range of lines by Anonymous Monk