Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: hash problemby davidj (Priest) |
on Jun 08, 2005 at 09:11 UTC ( [id://464604]=note: print w/replies, xml ) | Need Help?? |
The hash has not doubled. Rather, $var1 = undef is the key to the first hash element, $var2 = 'h20' is the value of the first hash element, etc. The good news is, this verifies the problem. That is, your keys are empty. Please show us the content of the text file you are using. That will certainly help us help you resolve the problem. davidj
In Section
Seekers of Perl Wisdom
|
|