Use the Config module. Sometimes $^O doesn't give you all the details:
C:\>perl -MConfig -e "print $Config{osname},\"\n\";" MSWin32
In reply to Re: how to recognize windows and linux os
by glasswalk3r
in thread how to recognize windows and linux os
by Manjunath
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |