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}};
In reply to Re: Virus toy model
by toolic
in thread Virus toy model^2
by ZWcarp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |