in reply to Re^4: Test for OS version in Perl
in thread Test for OS version in Perl
See the discussion under $^X in perlvar for ways of discovering the path of the executable being run. That should allow you to determine whether the currently running version of perl is a native or cygwin variant in all but the most extreme cases of deliberate desception.
|
|---|