Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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^


Comment on Re: foreach keys possible using a hash reference?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (17)
As of 2015-05-05 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (119 votes), past polls