Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

PERL search path

by darkphorm (Beadle)
on Apr 13, 2005 at 16:01 UTC ( [id://447474]=note: print w/replies, xml ) Need Help??


in reply to Version-independent installation directories

I've found on my boxes that the search path @INC also includes /usr/local/lib/site_perl, which is where I tend to put my customize perlmodules, etc.

Perhaps this is just a Debian thing, but it seems to work for all the various perl versions between stable/unstable. If it's the same on your machine though, you could probably put your modules there regardless of Perl version.

Replies are listed 'Best First'.
Re: PERL search path
by moot (Chaplain) on Apr 13, 2005 at 16:10 UTC
    $ perl -V Summary of my perl5 (revision 5.0 version 8 subversion 3) configuratio +n: Platform: osname=linux, osvers=2.6.4, archname=i586-linux-thread-multi uname='linux g194 2.6.4 #1 smp fri jan 14 13:01:26 utc 2005 i686 i +686 i386 gnulinux ' <snip> Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL +_IMPLICIT_CONTEXT Built under linux Compiled at Feb 5 2005 12:25:37 %ENV: @INC: /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl $ cat /proc/version Linux version 2.6.4-52-default (geeko@buildhost) (gcc version 3.3.3 (S +uSE Linux)) #1 Wed Apr 7 02:08:30 UTC 2004

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://447474]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found