http://www.perlmonks.org?node_id=155525


in reply to Re: construct a standard object oriented program
in thread construct a standard object oriented program

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

  • Comment on Re: Re: construct a standard object oriented program