Re: cpan command line



On Sep 28, 12:32 pm, bo...@xxxxxxxxxxxxxx (Bobby) wrote:
On Friday 28 September 2007 12:26:08 Paul Lalli wrote:
bo...@xxxxxxxxxxxxxx (Bobby) wrote:
What is the command to tell cpan to accept the default/suggested
values?
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.

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

.



Relevant Pages

  • Re: LWP install MacOS X
    ... I've managed to manually download and install the latest CPAN without any ... > You can use the CPAN shell to manage the downloads only, ... You can then run the 'perl Makefile.PL; ... subshell in these dists' directories" at a glance seemed like it would open ...
    (comp.lang.perl.misc)
  • Re: Problems locating C++ compiler / linker / make during installation of a module via CPAN
    ... >operable program or batch file. ... > make test had returned bad status, won't install without force ... Start a CPAN shell and change the make config option to use an 8.3 path ...
    (comp.lang.perl.misc)
  • Re: umask and CPAN installs
    ... Normally when I install programs this is not a problem. ... You could fashion a script to set your umask to something less ... restrictive, run the CPAN shell, then unset the umask. ...
    (comp.lang.perl.misc)
  • Re: installing CPAN module
    ... > Do you want to me to fetch GP/PARI automatically? ... > Running make install ... Did you set a prefix for CPAN to use to install modules? ... Have you tried to install without the CPAN shell? ...
    (comp.lang.perl.misc)
  • RE: DBI Install
    ... Is is possible to get the DBI stuff pre-compiled? ... Have you tried using the CPAN shell? ... from there it's one line to install any module: "install My::Module". ... 'Moon River' by Henry Mancini from 'The Best Of Mancini' ...
    (perl.beginners)