http://www.perlmonks.org?node_id=1127408


in reply to Re^2: how to insert new line in text file after regex match?
in thread how to insert new line in text file after regex match?

That's what I was shooting for; didn't know how well I succeeded. We get a lot of questions from people who clearly should still be working through getting a "Hello world!" script working. I figured if he was one of them, my example would be no help to him; but if he had some experience and skill, he'd be okay. It's a hard balance to find, though, between giving a fish and teaching to fish.

Aaron B.
Available for small or large Perl jobs and *nix system administration; see my home node.