{ local $^I = ''; # -i local @ARGV = $fileName; while (<>) { s/foo/bar/g; print; } }
In reply to Re: Write to filehandle without deleting current text
by ikegami
in thread Write to filehandle without deleting current text
by learn_perl_se
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |