[CentOS] scripting CPAN installs
alan.mckay at gmail.com
Tue Apr 20 13:31:07 UTC 2010
On Tue, Apr 20, 2010 at 4:14 AM, Tomas Ruprich <ruprich at uikt.mendelu.cz> wrote:
> I think this could be done by
> cpan> o conf prerequisites_policy follow
> cpan> o conf commit
> and then set
> env PERL_MM_USE_DEFAULT=1 cpan
> env PERL_MM_USE_DEFAULT=1 perl -MCPAN -e shell
> Mon, Apr 19, 2010 ve 04:24:21PM -0500, Les Mikesell napsal:
>> On 4/19/2010 4:15 PM, Kahlil Hodgson wrote:
>> > On 04/17/2010 12:21 AM, Alan McKay wrote:
>> >> Now my only problem seems to be that cpan does not allow me to specify
>> >> "yes" to this question when it asks. e.g. like the "-y" option to
>> >> "yum"
>> >> ---- Unsatisfied dependencies detected during
>> >> [A/AN/ANDK/CPAN-1.9402.tar.gz] -----
>> >> Test::Harness
>> >> Shall I follow them and prepend them to the queue
>> >> of modules we are processing right now? [yes]
>> >> Any way to do that?
>> > Try piping the output of the 'yes' command to whatever script is asking
>> > the question. "man yes" for more details ;-)
>> I thought that was one of the things you could set to default to 'yes'
>> when you initially configure the cpan module, but it's been a long time
>> since I did that.
>> Les Mikesell
>> lesmikesell at gmail.com
> CentOS mailing list
> CentOS at centos.org
“Don't eat anything you've ever seen advertised on TV”
- Michael Pollan, author of "In Defense of Food"
More information about the CentOS