in reply to RE: RE: Perl to CGI
in thread Perl to CGI

Have you consisdered simply installing modules in your home directory - if you have one. At least it would be under your control and you'd have permissions to install there.

Then you need to make sure that you include something like
use /path/to/module/module::name;
or push the library path to the @INC variable
push (@INC,/path/to/module/module.pm);

in the top of your scripts.

MadraghRua

Replies are listed 'Best First'.
RE (tilly) 4: Perl to CGI
by tilly (Archbishop) on Aug 19, 2000 at 01:38 UTC
    That push won't work unless you wrap it in a BEGIN block since it isn't seen in time. Two other solutions are to "use lib" and to set the PERL5LIB environment variable as documented in perlrun.