For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > September 2007 > cpan command line









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cpan command line
Bobby

2007-09-27, 10:01 pm

Hi,

What is the command to tell cpan to accept the default/suggested values?

--

Bobby
Srinivas

2007-09-28, 8:00 am

just hit "Enter"

-srini

Bobby wrote:
> Hi,
>
> What is the command to tell cpan to accept the default/suggested values?
>
>


Bobby

2007-09-28, 7:01 pm

On Friday 28 September 2007 06:01:31 Srinivas wrote:[color=darkred]
> just hit "Enter"
>
> -srini
>
> Bobby wrote:

No. Command line option so you don't have to be there and press Enter.

--

Bobby
Bobby

2007-09-28, 7:01 pm

On Friday 28 September 2007 12:26:08 Paul Lalli wrote:
> On Sep 28, 9:26 am, bo...@d4business.com (Bobby) wrote:
>
> When you run the cpan set up command, it will ask you if you're "ready
> for manual configuration". Say no. That will cause it to use the
> default values.
>
> Paul Lalli


Thanks, though I'm not sure we are talking about the same thing.

When installing modules it sometimes ask if you want additional modules as
well. At that point I need it not to ask that but just go ahead and do what
it thinks is best.

--

Bobby
Paul Lalli

2007-09-28, 7:01 pm

On Sep 28, 9:26 am, bo...@d4business.com (Bobby) wrote:
> On Friday 28 September 2007 06:01:31 Srinivas wrote:
>
>
>
>
>
> No. Command line option so you don't have to be there and press Enter.


When you run the cpan set up command, it will ask you if you're "ready
for manual configuration". Say no. That will cause it to use the
default values.

Paul Lalli

Paul Lalli

2007-09-28, 7:01 pm

On Sep 28, 12:32 pm, bo...@d4business.com (Bobby) wrote:
> On Friday 28 September 2007 12:26:08 Paul Lalli wrote:
[color=darkred]
> Thanks, though I'm not sure we are talking about the same thing.


You're right, we weren't. :-)

> When installing modules it sometimes ask if you want additional modules as
> well. At that point I need it not to ask that but just go ahead and do what
> it thinks is best.


Start up your cpan shell, and type:
o conf prerequisites_policy follow
o conf commit

That will tell cpan to go ahead and just download whatever modules it
needs in order to install the module you're trying to install.

Paul Lalli

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com