The variable to test this is called $^O, you can test for different values. For example:
if ($^O eq "MSWin32") { # Do Windows stuff }
See perlvar for details.
In reply to Re: Program for Windows and Unix
by dHarry
in thread Program for Windows and Unix
by Richi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |