> Hello Group,
> 
> Could anyone please tell me if there is a timer function in Perl.  I
am trying to get some perl code to run every morning, but I am unsure
how to do it.
> 
> Thanks
> Will
> 

Generally this is provided by the underlying system's scheduler.  cron
on *nix, something else on windows.

Alternatively if you really want a scheduler built into a long running
program you might consider using the 'alarm' built in,

perldoc -f alarm

I would avoid the second approach unless you really know you need it,
and in that case you might look into frameworks for building system
daemons that might provide similar functionality without dealing with
the low level details.

http://danconia.org

-- 
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