The fix is simple. Just change the first line of your sub to:
return 0 if $_[0]=~/\D/;
Abigail
In reply to Re: Tk::Entry validate question
by Abigail-II
in thread Tk::Entry validate question
by Baboon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |