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();
In reply to Re: How ro read a file every 10 seconds?
by psini
in thread How ro read a file every 10 seconds?
by padawan_linuxero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |