Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: best way to install modules in your home directory?

by Bloodnok (Vicar)
on May 26, 2008 at 15:34 UTC ( [id://688534]=note: print w/replies, xml ) Need Help??


in reply to best way to install modules in your home directory?

Hi ,

If ever I need to install any modules created using h2xs e.g. CPAN modules, in other than the default location, the first step i.e. when generating the makefile, is to use the PREFIX macro. In your case ...

perl Makefile.PL PREFIX=$HOME

Note that, if it didn't already exist, running make install will create $HOME/lib

HTH

At last, a user level that best describes my experience :-))

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-23 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found