Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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.


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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2015-11-25 18:36 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (684 votes), past polls