Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: restart program on wrong user input.by Aristotle (Chancellor) |
on Aug 02, 2004 at 00:39 UTC ( [id://379156]=note: print w/replies, xml ) | Need Help?? |
That made me blink for a second before I realized what was going on. Then I noticed you're missing the other half of the condition ($num lt "0"). You'd do better to check whether non-digits match in $num:
This is self-documenting and complete. Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|