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

please explain your assertion.

Replies are listed 'Best First'.
Re^5: Modules and crossplatform code
by Corion (Patriarch) on Dec 07, 2010 at 13:47 UTC

    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; } }