http://www.perlmonks.org?node_id=24427

Novician has asked for the wisdom of the Perl Monks concerning the following question:

I would like to know how to create a perl programme that will run forever, something like a timer where it will push or copy a certain file to another directory at a certain hour everyday.

The timer i tried before, ran every second. Resource over-utilized is not the biggest concern, its only the second. The thing is that, my timer version runs for every second in that minute. Can i make it run like once in that minute i choose it to run?

my version timer that i used, utilizes a FOR loop. Is there a better way of coding it and also making it run once in that minute i specify.

Originally posted as a Categorized Question.