Hi,

I have a perl script that runs an infinite loop.
It looks like this
While(1){
Sleep(3);
{do something}
}

My problem is: when I shut down Windows XP,
The script doesn't stop. Windows put a dialog asking
If I want to stop the script.

What could I do in the script to let it stop
Automatically?

Ted zeng



_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to