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

Reply via email to