Shouldn't the script be receiving a signal when windows shuts down?
Using %SIG to set an appropriate action (cleanup; exit 0) might be the simplest way to go about this.
In reply to Re: Exiting batch-started Perl script on WinXP shutdown
by SuicideJunkie
in thread Exiting batch-started Perl script on WinXP shutdown
by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |