Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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"; }
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1096159]
help
Chatterbox?
[Corion]: tye: Hmm - you mean what who am i outputs?
[Corion]: (that should be getlogin()? )
[Corion]: (which apparently even is a Perl function, I didn't know that, so thank you for making me see that ;) )
[Corion]: Yeah, I just did su -; perl -wle "print getlogin" and it still printed corion
LanX YT auto-caption: "The Uk sends a breakfast negotiator to brothels"

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-06-23 18:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.