Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Timing events in Tk

by tedrek (Pilgrim)
on Aug 07, 2003 at 00:46 UTC ( #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? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2021-09-22 22:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?