laziness, impatience, and hubris | |
PerlMonks |
Re: comparison of characterby davido (Cardinal) |
on Jul 16, 2013 at 15:57 UTC ( [id://1044630]=note: print w/replies, xml ) | Need Help?? |
If it's homework, by all means, figure out the logic. If not:
Or if you want to provide extra help upon receiving invalid input:
...or if you want to add a default...
Dave
In Section
Seekers of Perl Wisdom
|
|