You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Plows, Sean (London)" <Pl...@exchange.uk.ml.com> on 2001/10/17 15:26:17 UTC

@INC

How can I set this as my cgi's can't locate my libs?

> Regards,
> 
> Sean Plows

Re: @INC

Posted by Jon Robison <jo...@uniphied.com>.
"Plows, Sean (London)" wrote:
> 
> How can I set this as my cgi's can't locate my libs?
> 
> > Regards,
> >
> > Sean Plows

Sean - try "use lib '/path/to/my/libs';"  That should "append" your
library path to @INC.

Word on the street is that you NEVER EVER want to mess with @INC
directly.

Jon Robison
!Uniphied Thought, LLC

Re: @INC

Posted by Ilya Martynov <il...@martynov.org>.
>>>>> On Wed, 17 Oct 2001 14:26:17 +0100, "Plows, Sean (London)" <Pl...@exchange.uk.ml.com> said:


PS> How can I set this as my cgi's can't locate my libs?

use lib qw(/path/to/libs);

-- 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/)          TIV.net (http://tiv.net/) |
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-