Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Timing events in Tk

by tedrek (Pilgrim)
on Aug 07, 2003 at 00:46 UTC ( [id://281663]=note: print w/replies, xml ) Need Help??


in reply to Timing events in Tk

perldoc Tk::after

Replies are listed 'Best First'.
Re: Re: Timing events in Tk
by neilwatson (Priest) on Aug 09, 2003 at 12:54 UTC
    I'm slightly confused. Is it Tk::After or Tk::after? Also, I have tried using this code unsuccessfully:

    #timer for answer if ($count > 0){ $timer = $guessbox->repeat($limit, \&check); }

    Neil Watson
    watson-wilson.ca

      Well, which one works? :). As for that code, it won't work because $count will still be 0 at that point. You probably want to create the timer in question() and then cancel it in check().

      Tedrek

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-19 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found