Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Trying to understand Perl Objects

by jasonk (Parson)
on Apr 04, 2009 at 17:35 UTC ( #755463=note: print w/ replies, xml ) Need Help??


in reply to Trying to understand Perl Objects

In general what people do is put all those other things into the hash...

my $foo = bless( { name => 'Bo', color => 'white', complex_behaviors => [ { name => 'one' }, { name => 'two' }, { name => 'three' } ], }, 'Sheep' );

www.jasonkohles.com
We're not surrounded, we're in a target-rich environment!


Comment on Re: Trying to understand Perl Objects
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2014-09-02 03:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (18 votes), past polls