Syntactic Confectionery Delight | |
PerlMonks |
Re^5: Populate Hashby mzedeler (Pilgrim) |
on Jul 27, 2009 at 14:25 UTC ( [id://783561]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|