Keep It Simple, Stupid | |
PerlMonks |
Re: Validating hash valuesby reptile (Monk) |
on Sep 16, 2000 at 03:13 UTC ( [id://32759]=note: print w/replies, xml ) | Need Help?? |
You need to change that foreach to be keys %dateparts. As it is, it's going over both the keys and the values, and when it gets to value, it's false because that key doesn't exist yet.
In Section
Seekers of Perl Wisdom
|
|