[Chicago-talk] CPAN force install through API
JT Smith
jt at plainblack.com
Thu May 5 07:31:28 PDT 2005
I have a whole pile of perl modules that I need to install on various servers from time
to time. To save time I've written a script that installs them for me. A couple of them
though, fail one of their's tests, and therefore don't install. The test it's failing on
doesn't apply to what I'm doing so I just want to force through it. Is there any way to
do this in a scriptable way. If I was in the CPAN shell I'd just type 'force install
BSD::Resource'
I've tried:
perl -MCPAN -e 'CPAN->install("BSD::Resource");' (doesn't force)
perl -MCPAN -e 'CPAN->force_install("BSD::Resource");' (fails, method doesn't exist)
perl -MCPAN -e 'CPAN->force-install("BSD::Resource");' (doesn't force)
perl -MCPAN -e 'force install BSD::Resource' (doesn't force)
Is there an o conf parameter I need to set or something? Appreciate any help.
JT ~ Plain Black
ph: 703-286-2525 ext. 810
fax: 312-264-5382
http://www.plainblack.com
Create like a god, command like a king, work like a slave.
More information about the Chicago-talk
mailing list