|Welcome to the Monastery|
scripted cpan configurationby tphyahoo (Vicar)
|on Nov 25, 2006 at 17:04 UTC||Need Help??|
tphyahoo has asked for the
wisdom of the Perl Monks concerning the following question:
I have a script where it would be useful to be able to automate my custom cpan configuration.
Currently I have to do this by hand. Something like:
I had hoped I could do something like cpan 'o conf prerequisites_policy_follow; o conf commit'
but that didn't work. Is there some way to do this using the cpan shell? Or some trick with getting bash to give cpan input so it thinks it's coming from the user?