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

Re: What to tell Module::Build, and where?

by dragonchild (Archbishop)
on Apr 20, 2008 at 14:44 UTC ( #681779=note: print w/replies, xml ) Need Help??


in reply to What to tell Module::Build, and where?

Avoid the whole mess and keep two perl installs. Have the system perl (/usr/bin/perl or /usr/local/bin/perl) which aptitude maintains. Then, have your own personal perl (~/bin/perl) which has your own modules. Check out Perl::Install for an easy way to install it. Patches welcome.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re: What to tell Module::Build, and where?

Replies are listed 'Best First'.
Re^2: What to tell Module::Build, and where?
by rudder (Scribe) on Apr 21, 2008 at 06:29 UTC

    I agree, though usually keep my own perl in either ~/opt, or else maybe /opt. This way, you can keep all of it under the same tree (which makes an uninstall very easy (i.e. rm -fr ~/opt/perl-5.10.0), if that's ever necessary).

    I've never used Perl::Install. I just read the build instructions that come with Perl and go to it.

      I would normally agree, but I found myself having to install Perl over and over as part of a deployment process. So, I threw this together as a first-pass CPAN-ization of my scripts.

      My criteria for good software:
      1. Does it work?
      2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
Re^2: What to tell Module::Build, and where?
by stiller (Friar) on Apr 21, 2008 at 06:37 UTC
    Nice idea! I made an extra account with low privileges and tried, but the installation of Perl::Install wants to write to /usr/local/bin and so stopped there. I'll try again with some broader permissions, but I think it should do that operation on something like ~/local/bin?
      As I said, patches are most welcome. This is the first CPAN distro I made that has installable scripts in it, so I probably screwed up somewhere. The scripts run on their own, so you could just download them from cpan.org and go from there.

      My criteria for good software:
      1. Does it work?
      2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2022-05-29 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?