The way perl 'does' objects, is that it treats each object as a hash.That's not the full story. In Perl, any reference can be blessed. Hashes are the easiest thing to make into an object, but people sometimes bless array references, too (they are a bit faster in tight loops). You can even bless a scalar (check XML::LibXML) or code reference...
In reply to Re: Object Oriented Perl - very basic guide
by choroba
in thread Object Oriented Perl - very basic guide
by Preceptor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |