Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: 1 loop too many in array iteration

by vinoth.ree (Prior)
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

Athanasius++

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.


Comment on Re: 1 loop too many in array iteration
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2015-07-31 03:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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









    Results (274 votes), past polls