|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re^4: undefined value in array referenceby Dandello (Beadle) |
| on Mar 31, 2011 at 21:43 UTC ( #896735=note: print w/ replies, xml ) | Need Help?? |
|
Well, in this particular set of data, $x maxes out at 500 and $y maxes out at 10,000. So yes, it's an indexing issue related to @{$aob[ $y - 1 ]} but nothing I've read points to a simple one-line solution that actually produces the proper output. As is my usual, my current solution is a little sideways. In the section above calling popnum3: then
Supposedly @row = @{$aob[ $y - 1 ]} should be equivalent to But it didn't work out that way. BTW, the grep is in there since I know that although the current parameters shouldn't produce any blanks in the output, other parameters will.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||