Front page | perl.perl5.porters |
Postings from March 2000
We wantlvalue(), too!
Thread Next
From:
Tom Christiansen
Date:
March 22, 2000 06:50
Subject:
We wantlvalue(), too!
Message ID:
13642.953736653@chthon
To be usable, the :lvalue attribute really needs two things added.
1) A function needs to be able to figure out whether it was called
in an lvalue context of now. Rather than (just) adding an umpteenth
return to caller(), there should be a wantlvalue() built-in. You cannot
write something like
2) You also need access to the right hand side, just like tie's STORE
provides.
--tom
Thread Next