Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How is the default @INC constructed?

by Velaki (Chaplain)
on Aug 24, 2004 at 19:17 UTC ( #385488=note: print w/ replies, xml ) Need Help??


in reply to How is the default @INC constructed?

During the configuration process in preparation to build a new release of perl on your system, there are a number of questions and settings that refer to the location of libraries. Essentially, these paths are "Compiled In"; however, you can always change the default during the build.

A nifty build trick is to add library paths to be added to the front of the @INC path, thus overriding the built-ins with your own modules, should you choose to do so.

The relevant portion of code is

sh Configure -Accflags='-DAPPLLIB_EXP=\"/other/lib/dir\"'
as per the CPAN Install - Build and Installation guide for perl5 page.

-v
"Perl. There is no substitute."


Comment on Re: How is the default @INC constructed?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2015-07-06 11:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (72 votes), past polls