in reply to Re: Re: Re: substitute a word in the whole file .. how ???
in thread substitute a word in the whole file .. how ???

It's worth noting that you can put those command line arguments in the hashbang at the head of the script, e.g.
#!/usr/bin/perl -w -i.bak -p s/frog/toad/g;