http://www.perlmonks.org?node_id=455194


in reply to Re: Multiple substitutions in large files
in thread Multiple substitutions in large files

Shouldn't that be -pi (or -pi.bak if a backup is desired)? With just -p, the usage would be my_scriptydoo.pl file1 > file1.new