Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

(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 | zdog7@hotmail.com


Comment on (zdog) RE: (2) Hash Nightmare
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-08-21 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (135 votes), past polls