in reply to Tk::Entry validate question
The fix is simple. Just change the first line of your sub to:
return 0 if $_[0]=~/\D/;
Abigail
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Tk::Entry validate question
by Baboon (Acolyte) on Jun 14, 2002 at 18:25 UTC | |
by Abigail-II (Bishop) on Jun 14, 2002 at 18:47 UTC | |
by Baboon (Acolyte) on Jun 14, 2002 at 20:01 UTC |