|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Re: construct a standard object oriented programby PrakashK (Pilgrim) |
| on Mar 30, 2002 at 23:50 UTC ( #155525=note: print w/ replies, xml ) | Need Help?? |
|
What is important is that you have a sub that blesses a hash. Objects are really hash references ...Objects need not be hash references. Rather, any reference whose referent has been bless()ed into a particular class (read: package). The reference may be an array reference, scalar reference or even a reference to a subroutine. /prakash
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||