KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The following Perl code .. if ($^O eq "MSWin32") { use Win32; .. do windows specific stuff .. } .. works under Windows, but fails to run under all other platforms ("Can't locate Win32.pm in @INC"). How do I instruct Perl to try import Win32 only when running under Windows, and ignore the import statement under all other platform?
Tags (comma-separated)
Save Edits
Cancel