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


in reply to Pause a perl script

You can use sleep without argument. In this case, the script hang until it receive a SIGALARM signal ( from another app of course ).

I hope this help ( and that I haven't missunderstood the question :)