Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Installing modules in personal lib directory

by chas (Priest)
on Aug 30, 2005 at 01:38 UTC ( #487623=note: print w/ replies, xml ) Need Help??


in reply to Installing modules in personal lib directory

If the module doesn't have other dependencies, I have usually just downloaded it and then used
perl Makefile.PL LIB=/home/myusername/somedirectory PREFIX=/home/myusername/somedirectory
and that has always worked well. Things seemed to work better when I set both PREFIX and LIB. (I spent some time trying to figure out if both were really necessary and what the difference is; I think I was never absolutely certain...even though I did read the docs.) Using the CPAN module seems to be a recommended way, but I often had a lot of trouble with that.
chas


Comment on Re: Installing modules in personal lib directory
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2015-07-28 02:33 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 (251 votes), past polls