[CentOS] scripting CPAN installs

Mon Apr 19 21:15:36 UTC 2010
Kahlil Hodgson <kahlil.hodgson at dealmax.com.au>

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 ;-)

Kal