Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Getting keys of a hash element

by Gloom (Monk)
on Jan 25, 2001 at 02:50 UTC ( #54145=note: print w/replies, xml ) Need Help??


in reply to Getting keys of a hash element

you can also use smarts shortcuts
print sort keys %hash;
or
print join "\n" , sort keys %hash;
if you need some separators.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2022-01-19 02:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (55 votes). Check out past polls.

    Notices?