in reply to Program for Windows and Unix
You may use $^O or $OSNAME to determine the operating system.
Check the perlvar tutorial in doubt. Windows is usually MSWin32.
Check the perlvar tutorial in doubt. Windows is usually MSWin32.
In Section
Seekers of Perl Wisdom