use Win32; Win32::InitiateSystemShutdown(Win32::NodeName(), "", 0, 0, 1);