Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2015-07-02 06:20 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (30 votes), past polls