Re: Timer in perl

2011-05-30 Thread Uri Guttman
> "SS" == Sooraj S writes: SS> Hi, SS> Could any one tell me what is wrong with my code? It does not time out SS> after 5 seconds which is what i need. It remains in the infinit loop. SS> while (1) { }; your bug is here. you never exit the loop. SS> eval SS> { SS> alarm

RE: Timer in Perl??

2004-06-24 Thread Bob Showalter
William Martell wrote: > 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. What platform? On Unix, you typically use cron to run jobs at scheduled times. Windows has a sched

Re: Timer in Perl??

2004-06-24 Thread Wiggins d Anconia
> 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 windo

Re: Timer in Perl??

2004-06-24 Thread James Edward Gray II
On Jun 24, 2004, at 9:33 AM, William Martell wrote: 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. You could always sleep() for a day between runs, but that seems far too clumsy