in reply to One-Liner for In Place Text Replacement of Multiple Files

Sure.
perl -pi -e 's/foo/bar' *

To keep "fool" and "barefoot"

perl -pi -e 's/\bfoo\b/bar/' *

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}