On Wed, Aug 16, 2000 at 01:51:09PM -0600, Nathan Torkington wrote:
> Nathan Wiger writes:
> > Nonetheless, I think a better thing would be to figure out if it's
> > possible to "fix" this issue. I would *really* like lvalue subs ==
> > rvalue subs.
> 
> I think conflating:
>    foo(@vals)
> and
>    foo() = @vals
> 
> is misleading and going to cause more confusion that it solves.

Yes, how will the sub be able to tell between

  foo(1) = 2;

and

  foo(1,2);

ie how does it know where its arguments stop and it's assignments start ?

Graham.

Reply via email to