in reply to
inserting few lines after matching a string?
perldoc -q insert
has the answer you sought.
Comment on
Re: inserting few lines after matching a string?
Download
Code
In Section
Seekers of Perl Wisdom