Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Use of uninitialized valueby frozenwithjoy (Priest) |
on Aug 11, 2013 at 04:45 UTC ( [id://1048972]=note: print w/replies, xml ) | Need Help?? |
Assuming line 64 is $lnPAM1[$i][$j]= ($lnPAM1[$i][$j]) /($mutrate*100);, you could try troubleshooting with something like this on the line before:
When I do this I see something like this snippet:
Taking a look at where the matrix is built, it seems that the problem stems from your use of next in:
By using next, you don't use all 20 iterations of i or j when building the matrix, but you do later on. You could look to see the dimensions of the matrix before iterating through its dimensions.
In Section
Seekers of Perl Wisdom
|
|