[CentOS] scripting CPAN installs

Mon Apr 19 21:24:21 UTC 2010
Les Mikesell <lesmikesell at gmail.com>

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