in reply to One to one file output idiom
Any approach is either unclean, vulnerable or so "golfy", that a multi-line script is to be preferred.
If I were you, I'd propose a new Perlrun option -o to change the output file the same way -i is changing the input.
This would be very "orthogonal" and allow to combine both options in the same run.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|