Just another Perl shrine | |
PerlMonks |
Re: Odd hash problemby imp (Priest) |
on Feb 23, 2007 at 15:16 UTC ( [id://601745]=note: print w/replies, xml ) | Need Help?? |
You will save yourself a lot of pain (and most of your hair) by always using strict and warnings, especially when using mixed case variable names.
It wouldn't have caught this issue, but it will likely catch many others for you. Also, you are trying to use '$1' instead of '$!' for the error variable here:
In Section
Seekers of Perl Wisdom
|
|