On Wed, Aug 16, 2000 at 08:01:12AM +1000, Damian Conway wrote: > > I don't think the :lvalue is needed. This isn't really an attribute - if > > someone writes: > > > > $r->name = 'Mithrandir'; > > > > there's no confusion that it's assigning it. > > Ah, but there's definitely a confusion as to whether it's *meant* > to be assignable. > > What if I (as the class designer) want to give you read access but not > write access to an object's name? Or if I'm in truly evil mood and make assignments mean push() and reads mean pop()... -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack Cohen
- RFC 107 (v1) lvalue subs should receive the rvalue as ... Perl6 RFC Librarian
- Re: RFC 107 (v1) lvalue subs should receive the r... Nathan Wiger
- Re: RFC 107 (v1) lvalue subs should receive the r... Damian Conway
- Re: RFC 107 (v1) lvalue subs should receive t... Jarkko Hietaniemi
- Re: RFC 107 (v1) lvalue subs should receive t... Nathan Wiger
- Re: RFC 107 (v1) lvalue subs should receive t... Damian Conway
- Re: RFC 107 (v1) lvalue subs should recei... Nathan Wiger
- Re: RFC 107 (v1) lvalue subs should r... Nathan Torkington
- Make lvalue subs the default (wa... Nathan Wiger
- Re: Make lvalue subs the def... Piers Cawley
- Re: Make lvalue subs the... Nathan Wiger
- Re: Make lvalue subs the... Andy Wardley
- Re: Make lvalue subs the def... Jonathan Scott Duff
- Re: Make lvalue subs the... Nathan Wiger