In message <[EMAIL PROTECTED]>
          Nathan Torkington <[EMAIL PROTECTED]> wrote:

> Peter Scott writes:
> > >    >     ($a, $b, $c) = <FH>;
> > >    > or
> > >    >     @a[4,1,5] = <FH>;
> > >    > only read three lines?
> > >
> > >I think this is a superb idea, and look forward to someone's RFC'ing it.
>
> Should be part of the want() context.  Permit operations to discover
> (as does split) how many elements they're being assigned to.

Alternatively <FH> could just push an iterator on the stack and
then the assignment could iterate until it had got as many values
as it needed.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
...There once was a woman from Venus, whose body was shaped like....

Reply via email to