Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: arrays of object in OO perl

by IL_MARO (Initiate)
on Nov 19, 2008 at 06:34 UTC ( [id://724487]=note: print w/replies, xml ) Need Help??


in reply to Re: arrays of object in OO perl
in thread arrays of object in OO perl

I tried with the suggested code
     return $this->{individual}->[$index]->getDNA();
but the output is always the same:   Can't call method "getDNA" on an indefined value at Population.pm ...
I want to point out that I don't push into Population empty arrays.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-25 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found