Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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?
[marto]: it's good to know that things can always get worse :P
[hippo]: Ignorance can be bliss
[Corion]: hippo: Yeah - I'll just avoid the project lead :)
[Corion]: marto: Yeah, it helps with the perspective :-D

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2017-07-26 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (385 votes). Check out past polls.