http://www.perlmonks.org?node_id=201091


in reply to Bad index while coercing array into hash

Thanks be to the Gods for Data::Dumper.
Useing Data::Dumper's Dumper() sub should me the error of my ways!

I needed to be doing this ...
for my $i (1..$POLYGONS_MAX_Y) { if ( $ET[$i] ) { print "ET[$i] = "; for my $list ( ${ET[$i]} ) { for my $r ( @{$list} ) { print "{" . $r->{Ymax} . "|" . $r->{Xbot} . "|" . $r->{invSlope} . "}" ; } } print "\n"; } else { print "ET[$i] = NULL\n"; } }
Also thank those monks that replied to my question.

Thanks!