Think about Loose Coupling | |
PerlMonks |
scripted cpan configurationby tphyahoo (Vicar) |
on Nov 25, 2006 at 17:04 UTC ( [id://586024]=perlquestion: print w/replies, xml ) | 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? thanks! UPDATE: google code search had some good examples that I think I can work with, along with merlyn's column.
Back to
Seekers of Perl Wisdom
|
|