--- Jeff Pang <[EMAIL PROTECTED]> wrote: > > > > If I'm not mistaken, all Perl objects are references to a hash. > > > > Not correct at all. > Perl objects can be anything that's the blessed references.
This is correct. It's another reason why you don't want to care about what data structure is being used. The class author needs the freedom to choose the data structure he or she needs. If you find that you can't get the information/behavior you want without knowing the data structure, then supply the author with a patch which fixes the broken class or use a class which isn't broken. DO NOT pay attention to what type of reference it is. There are many, many years of collective wisdom in that* Cheers, Ovid * Yes, there are time you may need to know what the reference is, but this is usually with black magic type wizardry. With all due respect, if you have to ask how to figure out what the reference is, then you won't know what those times are. -- Buy the book -- http://www.oreilly.com/catalog/perlhks/ Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/