Hildo Biersma wrote: > > I feel this discussion confuses multiple things: > - Is a scalar an object or a reference to an object? The current thinking on this list is that a scalar == an object. That's where this discussion is getting confusing, because people aren't clarifying that this: my int $x = 5; Is really a call to an implicit constructor for the 'int' class: my int $x = 5; # $x = int->CREATE, $x->STORE(5) This borders right on the edge of internals. The only reason this isn't internals is because you'll be able to override these methods at will. Hopefully these emails will clear this up a little: http://www.mail-archive.com/perl6-language-objects%40perl.org/msg00097.html http://www.mail-archive.com/perl6-language-objects%40perl.org/msg00106.html http://www.maililbohive.com/perl6-language-objects%40perl.org/msg00112.html -Nate
- Re: RFC 171 (v1) my Dog $spot should call... Michael Fowler
- Re: RFC 171 (v1) my Dog $spot should ... Nathan Wiger
- Re: RFC 171 (v1) my Dog $spot should call a const... Michael Fowler
- Re: RFC 171 (v1) my Dog $spot should call a const... Jonathan Scott Duff
- Re: RFC 171 (v1) my Dog $spot should call a c... Hildo Biersma
- Re: RFC 171 (v1) my Dog $spot should call... Piers Cawley
- Re: RFC 171 (v1) my Dog $spot should call a constructo... Hildo Biersma
- Re: RFC 171 (v1) my Dog $spot should call a const... Matt Youell
- Re: RFC 171 (v1) my Dog $spot should call a c... Michael Fowler
- Re: RFC 171 (v1) my Dog $spot should call a c... Hildo Biersma
- Re: RFC 171 (v1) my Dog $spot should call... Nathan Wiger
- Re: RFC 171 (v1) my Dog $spot should call... Matt Youell
- Re: RFC 171 (v1) my Dog $spot should call a const... Michael Fowler
- Re: RFC 171 (v1) my Dog $spot should call a const... Nathan Wiger
- Re: RFC 171 (v1) my Dog $spot should call a constructo... Piers Cawley
- Re: RFC 171 (v1) my Dog $spot should call a const... Nathan Wiger
- Re: RFC 171 (v1) my Dog $spot should call a c... Piers Cawley
- Re: RFC 171 (v1) my Dog $spot should call... Michael Fowler
- Re: RFC 171 (v1) my Dog $spot should ... Piers Cawley
- Re: RFC 171 (v1) my Dog $spot sh... Michael Fowler
- Re: RFC 171 (v1) my Dog $spo... Michael Fowler