http://www.perlmonks.org?node_id=539417


in reply to reading env variable in cygwin using perl

better still ...
use English; print $OSNAME , "\n";