develooper Front page | perl.perl6.language.subs | Postings from August 2000

Re: RFC 118 (v1) lvalue subs: parameters, explicit assignment, and wantarray() changes

Thread Previous | Thread Next
From:
JVromans
Date:
August 17, 2000 13:51
Subject:
Re: RFC 118 (v1) lvalue subs: parameters, explicit assignment, and wantarray() changes
Message ID:
m2u2cjy665.fsf@phoenix.squirrel.nl
Damian Conway <damian@cs.monash.edu.au> writes:

> The point of an lvalue subroutine is not to make assignment to the
> return value work, it is to make the return value an *lvalue*.
> That's a much more general thing, because it allows every other type
> of modification to work too.

Exactly!

-- Johan


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About