Alternately, if I absolutely have to provide an explicit iteration over the file, I couldsystem( "$^X -pl -e 's/foo/bar/g' $rfile $afile" );
exec "$0 $rfile $afile" unless @ARGV; while (<>) { # Do whatever you want here. }
In reply to Re: TIMTOWTDI Challenge: Open a file
by dragonchild
in thread TIMTOWTDI Challenge: Open a file
by Tanktalus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |