in reply to Re^3: Perl script to print Next line after Pattern Matching
in thread Perl script to print Next line after Pattern Matching
Should have added above that that works only because the same file handle being used in two places in the same loop does not go out of whack, and state is retained on the next iteration.