Andrew Gaffney wrote:

>
> This is what I didn't quite understand. I didn't realize that Perl's "black magic" 
> allowed
> the blessed reference to refer back to the object already in memory. In effect, the
> blessed reference carries around the entire class object with it.

Not quite.  The beauty of references is that you don't have to lug the whole object 
around.
The reference is more like a map that shows where to very quickly find the object.  So 
what
you carry around evcerywhere is access to the object, not the object itself.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to