in reply to Perl File Editing Subroutines, Any ideas?
Wow, you're already well on your way to (poorly) reimplementing sed in Perl. The circle is now complete.