in reply to Re^2: Modules and crossplatform code
in thread Modules and crossplatform code

That's not equivalent.

Replies are listed 'Best First'.
Re^4: Modules and crossplatform code
by thargas (Deacon) on Dec 07, 2010 at 13:38 UTC
    please explain your assertion.

      See use and require and also test your code (modified to be "cross-platform").

      BEGIN { # need this to happen at compile time if ( $^O =~ /some_os_that_does_not_exist/ ) { use SomeOSThatDoesNotExist::Facility; } }