On Monday, July 8, 2002, at 08:02 , Connie Chan wrote:
[..]
> But what can I do, so my path can always
> aligned to @INC ?
>

three basic strategies:

        a) make sure that your packages that you build
                get installed into the site_location by default
                hence no need to modify anything

        b) set the environmental variable

                PERL5LIB

        c) always have your scripts include

                use lib <whereTheyAreHidden>

note that IF you adopt the personal convention of
installing into say

        $ENV{HOME}/lib/perl

then to make sure that you can read the pod with
perldoc - you will need to have the PERL5LIB include
at least that element.

cf:

http://www.wetware.com/drieux/CS/lang/Perl/PM/useLibHack.html


ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to