Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Need help from the esteemed monks on scoping/hashes

by ioannis (Prior)
on Jun 05, 2006 at 20:50 UTC ( #553698=note: print w/replies, xml ) Need Help??


in reply to Need help from the esteemed monks on scoping/hashes

The statement %mapping = split; ensures that the hash is re-initialized with only one key; yet, the for() loop wants to print the value of more than one key as it loops through print $mapping{$n} .
  • Comment on Re: Need help from the esteemed monks on scoping/hashes

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://553698]
help
Chatterbox?
and a kettle whistles...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-02-20 12:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (295 votes). Check out past polls.