kkavitha has asked for the wisdom of the Perl Monks concerning the following question:
I have to add the timerservice in existing perl project. That timerservice is must took one entry at runtime, and update the entry with timestamp in one text file if entry not exists. And, then it should update the timestamp for every one hour while project is running.
Example: entry: pdt1 In text file, pdt1 02/08/09 16:07:55
While project is running, first that will make a entry as like the above in text file. Then should update the timestamp for every one hour in that file
Tried with subroutine by calling &serviceTimer($entry) in starting of the project. But it is not allowing to run other modules. Because, serviceTimer subroutine should run independently until project execution is stop.
If anyone have ideas/knowldge on this, Couls you please share the same.
Thanks in advance, Kavitha
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to add timer
by Anonymous Monk on Sep 02, 2009 at 10:53 UTC | |
by kkavitha (Initiate) on Sep 02, 2009 at 12:10 UTC | |
by Anonymous Monk on Sep 02, 2009 at 12:19 UTC | |
by kkavitha (Initiate) on Sep 02, 2009 at 12:27 UTC | |
|
Re: How to add timer
by stevieb (Canon) on Sep 02, 2009 at 12:47 UTC | |
|
Re: How to add timer
by ig (Vicar) on Sep 02, 2009 at 21:40 UTC | |
|
Re: How to add timer
by Marshall (Canon) on Sep 02, 2009 at 21:59 UTC |