in reply to Getting next line after matched one

If you don't have to worry about consecutive lines, you could just read and print the next line.
while (<FILE>){ if (/text to check for/){ my $nextline = <FILE>; print $nextline; } }
(or simply print scalar(<FILE>);)