Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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' );
We're not surrounded, we're in a target-rich environment!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://755463]
[stevieb]: A couple of years ago I went to Curacao on a business trip which is a few parallels south of Canary Islands, but one thing I liked was it was 90 degrees at all times consistently. Much different experience than living in Canada :)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-02-23 17:11 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (349 votes). Check out past polls.