Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: construct a standard object oriented program

by PrakashK (Pilgrim)
on Mar 30, 2002 at 23:50 UTC ( #155525=note: print w/ replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://155525]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-02-01 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    On my keyboard, Caps lock is:








    Results (5 votes), past polls