Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Tk::Text Validation

by eibwen (Friar)
on Apr 21, 2005 at 00:57 UTC ( [id://449822]=note: print w/replies, xml ) Need Help??


in reply to Tk::Text Validation

I haven't used Tk::Text, but I think you may be looking for something along the lines of the following:

my $data = $text->get('1.0','end'); # Presumed to return contents of +desired field if ($data =~ /^.+$/) { # non-empty field } else { # empty field }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://449822]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-03-28 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found