in reply to range of lines

while( <IN> ) { if( /zagnork/ ) { print scalar <IN> for 1..5; } }