$^O
$^O is determined when perl is compiled. It's the platform perl was compiled on, and that isn't necessarily the platform it runs on.
Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
In reply to Re: Re: how to detect whether script is being run on Windows at runtime?
by Juerd
in thread how to detect whether script is being run on Windows at runtime?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |