Can anyone help me, I am trying to pick up the text on the next line if the line before it has a "description" tag.
while(<input_file> { if( /description/i ){ @array = nextline in the file; some processing here} } ############################## But it would even be better if ############################## while(<input_file> { if( /test_function/i){ next line until if( /description/i ){ @array = nextline in the file; some processing here;}} } Thank You Sean -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]