http://qs321.pair.com?node_id=930826

veerubiji has asked for the wisdom of the Perl Monks concerning the following question:

hi, i am trying to find out numbers keys and number of values in hash. and print the number. i written my code like this but it not given number of keys.what is the error in my code.

how can i store these num and datainfo in a hash. and how can i count number of keys in hash. I did like this but not working. In the above code i have only one element i am calling so it displying one element how can i iterate for all numbers in my hash.