On Tue, Nov 01, 2011 at 07:18:06PM +0000, Phil Dobbin wrote:

> From the Googling I did concerning this, I came across perlbrew &
> bootstrapping using local::lib but wondered if there was a simpler
> solution.

Quite.

> What’s your opinion on hard-pathing to CPAN a la `$
> /usr/local/bin/perl -MCPAN -e shell’ in order to use the CPAN that’s
> installed there to install modules in /usr/local/ so that I can use
> them with the perl-5.14.2 that resides there? If it’s feasible, one
> quick alias & it’d be easy.

Yes, this is a good solution.

Or run /usr/local/bin/cpan.

Or put /usr/local/bin early on your path so that a plain "perl" or
"cpan" will pick up the /usr/local/bin versions.  Just be careful that
you don't inadvertently call some other program in /usr/local/bin now
having different behaviour to what would otherwise have been called.

-- 
Paul Johnson - p...@pjcj.net
http://www.pjcj.net

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to