in reply to Tk::Text Validation
I'm sure you can come up with others that are more relevant to your needs. The point is to apply the test to $data, not to the widget.$data =~ /\S/ # must contain a non-whitespace character $data =~ /\w/ # must contain an alphanumeric character length( $data ) > $minlength # must be at least this long
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk::Text Validation
by willyyam (Priest) on Apr 21, 2005 at 04:00 UTC |