Brent 'Dax' Royal-Gordon wrote:
I like this in general. However...
Larry Wall <[EMAIL PROTECTED]> wrote:
* Since we already stole angles from iterators, «$fh» is not
how you make iterators iterate. Instead we use $fh.fetch (or
whatever) in scalar context, and $fh.fetch or @$fh or $fh[]
or *$fh in list context.
I believe you tried this one a couple years ago, and people freaked
out. As an alternative, could we get a different operator for this?
I propose one of:
$fh ->
$fh» (and $fh>>)
$fh>
All three have connotations of "the next thing". The first one might
interfere with pointy subs, though, and the last two would be
whitespace-sensitive. (But it looks like that isn't a bad thing
anymore...)
Any other suggestions, people?
++$fh