more useful options | |
PerlMonks |
Re^2: Creating hash: Key is unique string in array element, value is number of times it appearsby johngg (Canon) |
on Oct 26, 2011 at 11:06 UTC ( [id://933862]=note: print w/replies, xml ) | Need Help?? |
%genus = { } ; #genus is empty Let's try that!
You probably meant to use parentheses rather than curly braces, which construct a reference to an anonymous hash.
I hope this is helpful. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|