Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Im an heavy macports user. Have a lot of ports installed with +perl variants. (and much p5-modules too, and zilion others installed by cpan).

Now, I need perl 5.14. (because improved utf8 handling), but here is no macports package yet. What will be the best way get perl5.14 into OS X?

Hard question because now, all my perl modules are in the /opt tree - so when i will compile it with "normal" configure (not tried yet) but IMHO i will get perl installed into /usr/local, so will need reinstall all my modules.

Is here an easy way make a portfile for the perl5.14? Or I should abandon macports and go to fink, homebrew, or something_other?

I don't want homebrew if it is not possible change the /usr/local (because i'm using /usr/local for commands compiled "by hand" and for *.mpkg (OS X installer things) and dont want "mix" them with packagemanager. Is here a way how to change homebrew default install elsewhere?

Or generally - what is the best way manage perl in OS X?

  • compile it manually everytime?
  • and when i will compile it manually, should I abandon macports? /because, macport sure will want install his own (old) perl./ or here is some way tell macports to use "my perl"?
  • etc... etc.. ;(
share|improve this question
Is there any reason why you cannot use perlbrew? – mfontani Jun 27 '11 at 14:21
Now I have basic perl 5.14 installed from the macports (new package) and all my CPAN modules are installed with perlbrew as you suggest. ;) – jm666 Jun 27 '11 at 15:10
up vote 2 down vote accepted

As I noted in the comments, but failed to answer... is the best tool for doing this.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .