Also see the recent using 'use' conditionally.BEGIN { require autouse; autouse->import( $^O =~ /^win32/i ? "Module::WinNT" : "Module::Unix" ); }
_________
broquaint
In reply to Re: loading a perl module based on the os on which script is running
by broquaint
in thread loading a perl module based on the os on which script is running
by ravi_sha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |