in reply to Shutting down a windows perl script?

A technique I'm using right now is for the script to check to see if a file called StopNow exists. If so, it does whatever cleanup it has to do, and exits. It's not horribly clever but it works fine. (I suppose I could even get the script to delete the StopNow file so that it doesn't exit immediately the next time it runs.)

Well, you did ask for 'any' ideas.

--t. alex
but my friends call me T.
  • Comment on Re: Shutting down a windows perl script?