Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Installed CPAN modules misdirected

by strider corinth (Friar)
on Dec 06, 2002 at 18:34 UTC ( [id://218123]=note: print w/replies, xml ) Need Help??


in reply to Installed CPAN modules misdirected

This is an excerpt from the ExtUtils::MakeMaker module. MakeMaker is the module used to generate Makefile.PLs for module installations. I prefer putting new modules in site_perl, myself, but if you want to keep your environment homogeneous, you could use the LIB attribute (I also include PREFIX 'cause you might find it useful):
PREFIX and LIB attribute PREFIX and LIB can be used to set several INSTALL* attributes in one go. The quickest way to install a module in a non-standard place might be perl Makefile.PL PREFIX=~ This will install all files in the module under your home directory, with man pages and libraries going into an appropriate place (usually ~/man and ~/lib). Another way to specify many INSTALL directories with a single parameter is LIB. perl Makefile.PL LIB=~/lib

--
Love justice; desire mercy.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found