Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Hash of Array references

by choroba (Chancellor)
on Aug 04, 2014 at 15:42 UTC ( #1096159=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Hash of Array references
in thread Hash of Array references

Do you need the number in the same order as in the input? If not, you can just
for my $num (keys %users) { print "The details for number $num are user:$users{$num}[0], comme +nts: $users{$num}[1]\n"; }
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Comment on Re^5: Hash of Array references
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2016-05-30 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?