good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Replacing text in many files, including binariesby FunkyMonk (Chancellor) |
on Jun 02, 2011 at 15:30 UTC ( [id://907819]=note: print w/replies, xml ) | Need Help?? |
You might like to try File::Slurp version 9999.17 or later. Specifically, the edit_file function should shorten your one-liner.
In Section
Cool Uses for Perl
|
|