Larry Wall skribis 2004-08-20 13:31 (-0700):
> Unfortunately I'm not sure it passes the "Are there already too many
> ways to declare a sub?" test...

I'm not seeing it as another way. Technically, of course it is
different, but by the user, <-> and -> will probably be seen as one
thing, with one of them being the other's specialized form.

> It's really sick

Sick would be if <- were introduced to make the variable write-only ;)

         W   R
    @foos  -> $foo
    @foos <-> $foo
    @foos <-  $foo

It would be consistent, though...


Juerd

Reply via email to