Does anyone have any suggestions as to how I can use different modules / packages based on the OS of the machine running the script?
The following does not seem to work:
I have a vague feeling that eval or AUTOLOAD may have something to do with it... but if I knew then I wouldn't be asking!if ($^O =~ /Win/ ) { use Win32::Package } else { use Unix::Package }
In reply to how to use different packages depending on host OS? by smullis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |