Jon Ericson wrote:
I had considered this, but I don't want Yet Another Quote-like Operator
(YAQO). Perhaps I should just change this RFC to call for a built-in
tee operator:
push @lines, tee($_) for ;
I would vote strongly against a built-in "tee" operator.
You can achieve the same
Perl supplies an operator for line input - angle brackets. This is no
analogous operator for output. I propose "inverse angle brackets":
How about quotes? A quoted lhs expression could mean print. A quoted lhs
expression preceded by a file handle could mean print to filehandle.
Tom