Do you really mean /win32/, or do you mean Windows? /win32/ doesn't include Cygwin.
This is (partly) why I wrote Devel::CheckOS - it lets you easily check for things like 'MicrosoftWindows' or 'Unix' without having to know (or look up) what all the values of $^O are. It's also less likely that a highly specialised module will go out of date when new platforms are supported (such as MirBSD or Dragonfly or Haiku) than that a scrap of code buried somewhere in several of your scripts will!
In reply to Re: require different modules per OS?
by DrHyde
in thread require different modules per OS?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |