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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: One to one file output idiom
by Eily (Monsignor) on Jan 16, 2020 at 09:28 UTC | |
by LanX (Saint) on Jan 16, 2020 at 20:34 UTC | |
by Eily (Monsignor) on Jan 17, 2020 at 08:57 UTC |
In Section
Seekers of Perl Wisdom