You probably want to use ExitWindowsEx() from User32.dll via Win32::API - EWX_REBOOT has the value of 4 ...
/J\
In reply to Re: Automatic Windows Reboot using Perl
by gellyfish
in thread Automatic Windows Reboot using Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |