Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: foreach keys possible using a hash reference?

by gav^ (Curate)
on Jul 04, 2002 at 17:03 UTC ( #179496=note: print w/replies, xml ) Need Help??


in reply to foreach keys possible using a hash reference?

Something like this would do the trick:
foreach (keys %$args) { # do something }

gav^

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://179496]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2016-12-03 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (52 votes). Check out past polls.