I have Perl on Mac, Windows and Ubuntu. How can I tell from within the script which one is which? Thanks in advance.
Edit: I was asked what I am doi
For a generic mapping in a pre-packaged perl module, check out Perl::OSType.
It's used by Module::Build.
Module::Build