Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

(zdog) RE: (2) Hash Nightmare

by zdog (Priest)
on Oct 06, 2000 at 21:11 UTC ( #35615=note: print w/replies, xml ) Need Help??

in reply to Re: Hash Nightmare
in thread Hash Nightmare

All the keys in each hash are the same so couldn't you do the following:

foreach (keys %hash1) { ... # here you would use $_ as the variable for the keys }
This eliminates the creation of the @keys and $key variables. Hope that helps.

Zenon Zabinski | zdog |

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2016-10-26 20:01 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (346 votes). Check out past polls.