in reply to Perl script to print Next line after Pattern Matching

$/="\n\n";
will probably help you solve your problem.
use strict; use warnings;
will probably help you placate the Monks.