local @ARGV = $path; local $^I = ""; while ( <> ) { s/foo/bar/g; print; }
Assumes ARGV is currently at EOF.
In reply to Re: Avoid re-invocation for -pie processing
by ikegami
in thread Avoid re-invocation for -pie processing
by seismofish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |