in reply to Disconnect users

You need to call the Win32 function ExitWindows(). You can get a perl wrapper for tha (and more) in Win32::AdminMisc. The date is 2000. I have not seen anything more current. It would be nice, IMHO, if ActiveState would include this with their distro.

HTH, --traveler