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 ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-20 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found