Keep It Simple, Stupid | |
PerlMonks |
Re: find & replace a string in perlby davido (Cardinal) |
on Nov 25, 2010 at 13:53 UTC ( [id://873642]=note: print w/replies, xml ) | Need Help?? |
Two simple solutions come to mind. First, the one-liner:
Or the Tie::File approach for simple line by line file handling.
I know Tie::File isn't sexy in Perl culture, but it gets the job done without much thought. Dave
In Section
Seekers of Perl Wisdom
|
|