in reply to How ro read a file every 10 seconds?
I think that AnyEvent should do the trick.
use AnyEvent; sub loop { AnyEvent->timer (after => 10, cb => sub {<i>do_something_here</i>; &loop;}); loop();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How ro read a file every 10 seconds?
by padawan_linuxero (Scribe) on May 12, 2008 at 19:40 UTC | |
by Anonymous Monk on May 12, 2008 at 21:13 UTC |