The stupid question is the question not asked | |
PerlMonks |
Re: How can I include a module for Windows only??by Benedictus (Beadle) |
on Dec 17, 2003 at 15:55 UTC ( [id://315290]=note: print w/replies, xml ) | Need Help?? |
You can use the if module to "use" another module if a condition is true. In your case, you might have:
Warning: the above code is untested. The "if" module should come with Perl, but you can get it from CPAN if need be. Benedictus
In Section
Seekers of Perl Wisdom
|
|