Re: install question..

Neil Kandalgaonkar (njk@odyssee.net)
Tue, 6 Jan 1998 13:33:15 -0400


At 11:57 AM -0400 6/1/98, dbreite2@ic3.ithaca.edu wrote:
>I'm a user on unix web server and I have permision to read perl modules,
>and any other perl files.  However I don't have permision to wright to the
>@INC directories.   Is it possible to use libwww-perl-5 ( I do have perl
>5.003) without installing it in the @INC directories..

Yes, you can add directories to @INC at compile time. Typically you want
your directory to be the first searched, so you add it to the top of the
list.

    unshift( @INC, ("~dbreite/perlmods/") );
    use LWP;

or see the documentation for the "lib" module for a somewhat better way of
doing this.

--
Neil Kandalgaonkar    njk@odyssee.net