in reply to Re: Best way to write in Perl
in thread Best way to write in Perl
and get:perl -pi -e 's/MONK/SAINT/ig abc.txt
If you change that to:Can't do inplace edit without backup.
Then it works ;)perl -pib -e 's/MONK/SAINT/ig' abc.txt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Best way to write in Perl
by Prof Vince (Friar) on Sep 04, 2007 at 11:54 UTC |