At 18:38 + 1/11/11, Phil Dobbin wrote:
I use the /usr/local/ version for everything & leave the other two
to their intended purposes. My question is how do I configure CPAN
to install into /usr/local/?
The way I do it is simply:
$ cd /usr/local/bin; sudo ./cpan
No disrespect to Perlbrew
On 1/11/11 at 21:09, shlo...@shlomifish.org (Shlomi Fish) wrote:
> You can do «/usr/local/bin/perl -MCPAN -e 'shell'» or a different CPAN.pm (or
> CPANPLUS/etc.) command.
Hi.
Yeah, I ended up setting up an alias in my .bash_profile as so:
alias cpan=’sudo /usr/local/bin/perl -MCPAN -e shell’
&
On Tue, 1 Nov 2011 18:38:38 +
Phil Dobbin wrote:
> Hi.
>
> I have three versions of perl on my machine (Macbook Pro running
> 10.6.8.): v.5.12 in /opt/local/ for MacPorts, v.5.10 in
> /usr/bin/ which is the system perl & my developer perl v.5.14 in /usr/local/.
>
> I use the /usr/local/
On 1/11/11 at 19:42, p...@pjcj.net (Paul Johnson) wrote:
> On Tue, Nov 01, 2011 at 07:18:06PM +, 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 i
On Tue, Nov 01, 2011 at 07:18:06PM +, 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 -MC
On 1/11/11 at 18:45, shawnhco...@gmail.com (Shawn H Corey) wrote:
I think perlbrew can be used to switch between installed Perls.
If so, switch to the one you want and run `cpan`. This will
cause cpan to use the active perl and install the modules in
its @INC directories.
I use perlbrew to i
On 11-11-01 02:38 PM, Phil Dobbin wrote:
I use the /usr/local/ version for everything & leave the other two to
their intended purposes. My question is how do I configure CPAN to
install into /usr/local/?
I think perlbrew can be used to switch between installed Perls. If so,
switch to the one y
> -Original Message-
> From: Kevin Murphy [mailto:[EMAIL PROTECTED]
> Sent: 18 November 2008 19:14
> To: beginners@perl.org
> Subject: CPAN question
>
> Hi,
>
> I'm a system administrator, not a programmer, and my only experience
> with Perl is setting up and maintaining a Bugzilla instal
Xavier Noria wrote:
On May 14, 2007, at 3:50 PM, Robert Hicks wrote:
I am working on a Perl 5.6.0 project and went to use "cpan" at the
command line and behold it was not there. I download the 5.6.1 tar
file and behold "cpan" the command line program wasn't in there either.
Did it not come w
On 5/14/07, Xavier Noria <[EMAIL PROTECTED]> wrote:
snip
perl -MCPAN -e 'install Module'
snip
or
perl -MCPAN -e shell
If you prefer and interactive version of CPAN.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On May 14, 2007, at 3:50 PM, Robert Hicks wrote:
I am working on a Perl 5.6.0 project and went to use "cpan" at the
command line and behold it was not there. I download the 5.6.1 tar
file and behold "cpan" the command line program wasn't in there
either.
Did it not come with 5.6.0/5.6.1?
On Tuesday 20 January 2004 4:21 pm, Gary Stainburn wrote:
> On Tuesday 20 January 2004 4:05 pm, Tim McGeary wrote:
> > Maybe this isn't the right place to ask this question, but I'm a little
> > desparate. Does anyone know how to edit the CPAN config to add other
> > mirrors to download CPAN modul
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Tim McGeary) writes:
>Maybe this isn't the right place to ask this question, but I'm a little
>desparate. Does anyone know how to edit the CPAN config to add other
>mirrors to download CPAN modules from? The mirror that my CPAN
>installation
On Tuesday 20 January 2004 4:05 pm, Tim McGeary wrote:
> Maybe this isn't the right place to ask this question, but I'm a little
> desparate. Does anyone know how to edit the CPAN config to add other
> mirrors to download CPAN modules from? The mirror that my CPAN
> installation is looking for is
On Fri, 27 Apr 2001, Michael Lamertz wrote:
[...]
> I remember having a Makefile.PL that explicitely overruled the
> environment variable by using the compiler that perl was built with.
> You can check which compiler that is with the command
>
> perl -lMConfig -e 'print $Config{cc}'
You wan
Phillip Bruce ([EMAIL PROTECTED]) wrote:
> Hi,
>
> Sometime back some one gave me the path to a config file in
> which told cpan where and what compilers that my systems
> uses.
> Does anyone have any ideas to this.
>
> I get this error:
> /usr/ucb/cc: language optional software packa
Phillip Bruce writes ..
> Sometime back some one gave me the path to a config file in
> which told cpan where and what compilers that my systems uses.
> Does anyone have any ideas to this.
/path/to/perl/lib/Config.pm
--
jason king
A Canadian law states that citizens may not publicly
17 matches
Mail list logo