http://qs321.pair.com?node_id=281669


in reply to multiline inplace edit

How is this any different from:
perl -pi -e 'BEGIN { $/ = undef } s/foo/bar/g' file1.txt file2.txt ...
That's easier than remembering to install a program. {grin}

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.