Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Deep recursion in Tk repeat

by polypompholyx (Chaplain)
on Sep 01, 2003 at 10:54 UTC ( [id://288115]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (1)
    {
      $taxis->taxis(); # move every woodlouse through one cycle
      DoOneEvent( $running ? DONT_WAIT : ALL_EVENTS );
    }
    
  2. or download this
    $mw->repeat( 50, [ sub { $taxis->taxis() if $running } ] );
    DoOneEvent( $running ? DONT_WAIT : ALL_EVENTS ) while 1;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2024-04-23 18:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found