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 or env PERL_MM_USE_DEFAULT=1 perl -MCPAN -e shell Tomas 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