in reply to Splitting an extension based on OS

Please don't assume, as you seem to be doing, that if $^O isn't MSWin32 then you're running on Unix. You might be running on Cygwin, or VMS, or RISCOS, or DOS, or OS400. If you have Unix-specific code, then check that you're running on Unix, by using Devel::CheckOS.

Replies are listed 'Best First'.
Re^2: Splitting an extension based on OS (DON'T!)
by Anonymous Monk on Nov 07, 2007 at 12:31 UTC

    <voice style='McEnroe'><c>You ... cannot ... be serious!<c></voice>

    A total of 42 modules to compare $^O against 40 strings totalling around 200 chars.

    What an exercise in pointless, useless over-engineering.

      So don't use it if you don't like it. And expect bug reports when you get the answer to something as simple as "is this a Unix system" wrong.