Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: number of keys and values in a hash

by choroba (Archbishop)
on Oct 11, 2011 at 14:30 UTC ( #930832=note: print w/replies, xml ) Need Help??


in reply to number of keys and values in a hash

Your code has two opening curly brackets, but three closing ones. Please, post the real code, otherwise we can not help you.
Are you sure you are not calling keys inside the each loop in the real code? That would explain the infinite loop.
  • Comment on Re: number of keys and values in a hash

Replies are listed 'Best First'.
Re^2: number of keys and values in a hash
by veerubiji (Sexton) on Oct 12, 2011 at 07:21 UTC

    hi choroba, Upto printing number and datainfo is ok, it displying toatl numbers and thier datainfo but after that i need to sotre these numbers into hash so i created hash,but in my hash only one element is there how can use all elements in my hash.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2022-01-26 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (69 votes). Check out past polls.

    Notices?