in reply to Re^2: One to one file output idiom
in thread One to one file output idiom
No, but >> for append does, though you must be sure the OUT-file doesn't exist already
C:\tmp\files>perl -pE"open STDOUT=>qq(>>$ARGV.ext); s/bla/drivel/" a b + c
There was a hack with Eskimo kiss } { in the -e but as I said I'm not experienced with one liners.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In Section
Seekers of Perl Wisdom