On 1/11/11 at 19:42, [email protected] (Paul Johnson) wrote:
> On Tue, Nov 01, 2011 at 07:18:06PM +0000, Phil Dobbin wrote:
[snip]
> > 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.
I think I’ll use this method then. Seems like a far more uncomplicated process.
Thanks to Shawn & Paul for their help.
Cheers,
Phil.
--
Please consider the environment before reading this email...
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/