Perl-Sensitive Sunglasses | |
PerlMonks |
Re: getopt::std helpby davidrw (Prior) |
on Jan 07, 2008 at 02:45 UTC ( [id://660735]=note: print w/replies, xml ) | Need Help?? |
Add this to see what's going on:
And you'll see that the key 'h' _is_ being created, and the value is undef, which is why your if statements don't pick it up, since it's a false value. This will do what you want:
In Section
Seekers of Perl Wisdom
|
|