note
LanX
No, but <C>>></C> for append does, though you must be sure the OUT-file doesn't exist already<P>
<c>
C:\tmp\files>perl -pE"open STDOUT=>qq(>>$ARGV.ext); s/bla/drivel/" a b c
</c><P>
There was a hack with Eskimo kiss <C>} {</C> in the -e but as I said I'm not experienced with one liners.<P>
<div class="pmsig"><div class="pmsig-708738">
<p>Cheers Rolf<br>
<sub>(addicted to the Perl Programming Language :)
<br> <i> [id://1153804|Wikisyntax for the Monastery]</i>
<small><strike>Football</strike>Perl is like chess, only without the dice</small>
</sub> <P>
</div></div><!-- Wiki2Monks {"version":1.142} -->
11111448
11111453