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
In reply to Re^2: Best way to write in Perl
by j1n3l0
in thread Best way to write in Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |