in reply to Re^8: Matching string, then getting next line
in thread Matching string, then getting next line

Well if you know what's you're looking for, probably matching it directly would be easier then.
my $message; while (<FILE>) { if ( m/\d\d \d\d\/\d\d\/\d\d \d\d:\d\d:\d\d:\d\d\d .*/ ) { $message .= $_ } }