One of my favorite Perl mnemonics when needing to apply edits to a set of files is:
With Perl, it is as easy as pie.
perl -p -i -e '<insert substitution here>' $WHAT_FILES
One of my favorite Perl mnemonics when needing to apply edits to a set of files is:
Which reminds me that making a global substitution across N files can be done with: