{ local $^I = ''; #no backup of original! local @ARGV = qw(c:\\tuls\\tuls.txt); while ( <ARGV> ) { s/find/replace/g; print; } }
Paul
In reply to Re: Modify file without any temp variable
by rev_1318
in thread Modify file without any temp variable
by tulsyan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |