perl -MCPAN -e shell if you are using Unix/Linux
perl -pi.bak "s/foo/bar/" * approach, which edits files in place - see WindowsInstallCookbook, 'Editing the CGI scripts' and 'Re-locking RCS files' sections. Very powerful, but also quite dangerous! [ RichardDonkin 30 Mar 2002 ]