On Tue, 2006-04-04 at 12:52 +1000, James Turnbull wrote:
> James Turnbull wrote:
> > Hi
> >
> > Anyone know of a way to create a loop (or something similar) that 
> > automatically schedules the execution of a sub-routine periodically 
> > from within a program, for example execute check() every 600 seconds 
> > or the like?  The program would be running as a daemon on the host.
> >
> Sorry - probably didn't make that clear:
> 
> The mainline program is monitoring something - every x seconds I wish to 
> execute a subroutine from within the mainline and return to the mainline 
> after executing the subroutine to continue the monitoring. 
> 
> Regards
> 
> James Turnbull
> 
> 
You might try Event.pm.
http://search.cpan.org/~jprit/Event-1.06/lib/Event.pod



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to