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.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."