in reply to how to include a directory in @INC?

Try setting the PERLLIB or PERL5LIB environment variables to the path to your library. Of course, I don't know if this'll work correctly in programs such as CGI scripts; and it also doesn't work w/ tainting, apparently.
  • Comment on Re: how to include a directory in @INC?

Replies are listed 'Best First'.
RE: Re: how to include a directory in @INC?
by Anonymous Monk on Mar 03, 2000 at 00:40 UTC
    Thanks. This works. But each user needs to set PERLLIB variables. Also, in CGI script, you still need to set @INC or PERLLIB. Qiang