in reply to Virus toy model^2
There is something wrong with the way I am passing the arrays to the hash .. it will output ie ARRAY(0x1f512580), not sure where exactly the problem is.You need to deference the array. Change:
to:my @last_gen=$allgen{$i-1};
perldscmy @last_gen=@{$allgen{$i-1}};
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Virus toy model
by Anonymous Monk on Jun 30, 2011 at 05:08 UTC | |
by jethro (Monsignor) on Jun 30, 2011 at 10:48 UTC | |
by Anonymous Monk on Jun 30, 2011 at 06:35 UTC |
In Section
Seekers of Perl Wisdom