http://www.perlmonks.org?node_id=179496


in reply to foreach keys possible using a hash reference?

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

gav^