Then, as you say, your problem is with filtering user input. When you recieve input from a user, you need to check that it is a valid number and reject (or ignore) it if it isn't.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re^3: Q: NaN again
by davorg
in thread Q: NaN again
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |