in reply to Test for OS version in Perl
On my system, the environment variable OS is set to "Windows_NT" whether in a cmd.exe window or a Cygwin Bash shell. However, in the Cygwin Bash shell, there is the additional eVar OSTYPE which is set to "Cygwin"
does that help?
|
|---|