in reply to Re^2: number of keys and values in a hash
in thread number of keys and values in a hash
well, of course you will need to create and fill a hash first with the desired part of your data. The code tells you exactly what you have: my %nums =( "$number", $info) is a hash with one element only, a single pair key-value. You need to iterate between all keys and all values
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: number of keys and values in a hash
by pvaldes (Chaplain) on Oct 11, 2011 at 15:47 UTC | |
Re^4: number of keys and values in a hash
by veerubiji (Sexton) on Oct 12, 2011 at 07:06 UTC |
In Section
Seekers of Perl Wisdom