Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^5: Populate Hash

by mzedeler (Pilgrim)
on Jul 27, 2009 at 14:25 UTC ( [id://783561]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Populate Hash
in thread Populate Hash

The reason is that you refer to %myHash before having declared it. You need a my in front of %myHash like so:

my %myHash;

The =() doesn't do anything and can be omitted.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-03-19 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found