APM: The proper way to use CPAN on a server

Jonathan Scott Duff duff at pobox.com
Fri Apr 9 11:01:17 PDT 2010


On Fri, Apr 9, 2010 at 12:57 PM, Tim McDaniel <tmcd at panix.com> wrote:

> On Fri, 9 Apr 2010, Jonathan Scott Duff <duff at pobox.com> wrote:
>
>> Also, I often will run cpan thusly:
>>
>> $ PERL_MM_USE_DEFAULT=1 cpan Bundle::CPAN
>>
>> That causes cpan to accept the default answers to any prompts as it
>> installs the CPAN bundle.
>>
>
> Just to make sure: that should be
>
>    PERL_MM_USE_DEFAULT=1 cpan install Bundle::CPAN


Nope.  That's meant to be run from the command line using the "cpan" command
which doesn't take subcommands.  So cpan Bundle::CPAN from the command line
will install Bundle::CPAN.

-Scott





> ?
>
> --
> Tim McDaniel, tmcd at panix.com
> _______________________________________________
> Austin mailing list
> Austin at pm.org
> http://mail.pm.org/mailman/listinfo/austin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/austin/attachments/20100409/e8fc2301/attachment.html>


More information about the Austin mailing list