in reply to
Replacing text in many files, including binaries
You might like to try
File::Slurp
version 9999.17 or later. Specifically, the
edit_file
function should shorten your one-liner.
Comment on
Re: Replacing text in many files, including binaries
In Section
Cool Uses for Perl