if ($^O eq 'MSWin32') { print 'Enter to close window: '; <>; }