in reply to Modules on a Unix server
use lib '/path/to/modules/';
(Do this before any of your other use statements.) You could also directly manipulate the @INC array, which tells Perl where to look for modules, but I personally consider the use lib syntax to be cleaner and more self-documenting.
As for finding the module directory in the first place: You can probably use something like find -iname strict.pm. (Someone who's more of a Unix guru than I may have a better suggestion). You'll also need to be sure that the modules you intend to use are actually installed on your server, and download them if not. If your admins won't put these into a convenient directory you can always just create your own local module directory and use lib it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Modules on a Unix server
by Anonymous Monk on May 14, 2002 at 15:38 UTC | |
by seattlejohn (Deacon) on May 14, 2002 at 22:53 UTC | |
by Anonymous Monk on May 15, 2002 at 12:10 UTC |