Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: 1 loop too many in array iteration

by vinoth.ree (Monsignor)
on Feb 13, 2013 at 09:27 UTC ( #1018509=note: print w/replies, xml ) Need Help??

in reply to 1 loop too many in array iteration


jms53 if the loop goes like this you try to print your data structure using Data::Dumper module, so that you can get understand how the data get saved.

Replies are listed 'Best First'.
Re^2: 1 loop too many in array iteration
by jms53 (Monk) on Feb 13, 2013 at 10:05 UTC

    I didn't see the structure any different from what I was expecting in Data::Dumper, although that is likely to be my lack of experience with Data::Dumper.

    Athanasius's correction to the sub made everything work as expected.

    Thanks for all the help and wisdom!
    J -

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2016-10-28 15:39 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (386 votes). Check out past polls.