Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Where to unpack CPAN modules

by nicholasrperez (Monk)
on Dec 15, 2006 at 17:40 UTC ( #590064=note: print w/replies, xml ) Need Help??


in reply to Where to unpack CPAN modules

Sounds like you want your own development environment. I recommend compiling your own perl for that and giving it a prefix for installation. Personally I have everything in ~/installed/ with my path including ~/installed/bin. This lets me install perl cleanly and use it without disruption to the rest of the system (Debian makes heavy use of perl). Then when I run the cpan shell it pulls all its location stuff from Config.pm which conveniently points everything to ~/installed/. Inside of ~/installed, I keep a cpan directory and let CPAN use that as it's scratch space. All in all, it works well.

Replies are listed 'Best First'.
Re^2: Where to unpack CPAN modules
by tphyahoo (Vicar) on Dec 16, 2006 at 15:19 UTC
    Second that. I recently google-project-hosted a collection of bash scripts that I use to automate setting up my own local perl environment wherever I want.

    Pedantically thorough one-shot catalyst sandbox installation, soon it will automagically set up demo apps too...

    This is optimized for catalyst development, but if you edit install.sh and remove all the stuff related to catalyst, you should have an easy way to set up perl, update CPAN, add Module::Build. And maybe the tactics I use in terms of overly thorough backup of my environment, with easy aliases to help you on your way, could be of use as well.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2020-10-20 07:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (209 votes). Check out past polls.

    Notices?