Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Bad index while coercing array into hash

by rbc (Curate)
on Sep 26, 2002 at 23:44 UTC ( #201091=note: print w/ replies, xml ) Need Help??


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!


Comment on Re: Bad index while coercing array into hash
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://201091]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2014-09-01 12:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (7 votes), past polls