in reply to Re: Windows Signals"
in thread Windows Signals"

For simple console apps, you can also call SetConsoleCtrlHandler() and the message sent for logoff is CTRL_LOGOFF_EVENT

Replies are listed 'Best First'.
Re: Re: Re: Windows Signals"
by Anonymous Monk on Mar 05, 2004 at 12:40 UTC
    Thanks. How may I implement that in perl? Jes