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; } }
In reply to Re^5: Modules and crossplatform code
by Corion
in thread Modules and crossplatform code
by Khariton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |