See -validate => 'key', -ValidateCommand => sub { length( $_[0] ) <= 10 ? 1 : 0 } and the validation section of the Entry widget POD.
In reply to Re: Perl/Tk,How to limit the number of characters in Entry?
by BrowserUk
in thread Perl/Tk,How to limit the number of characters in Entry?
by perllee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |