Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: force install in cpan

by jettero (Monsignor)
on Mar 27, 2007 at 15:24 UTC ( #606771=note: print w/replies, xml ) Need Help??

in reply to force install in cpan

I usually use this mess: perl -MCPAN -e "CPAN::Shell->force(qw(install IO::Socket::SSL));"

It's not exactly intuitive and there may be a better way... but it works. It also hints at a larger API (CPAN, CPAN::Shell), which appears to have grown rather organically IMO.


Replies are listed 'Best First'.
Re^2: force install in cpan
by Anonymous Monk on Mar 27, 2007 at 15:27 UTC

    ... and quick too

    I am not worthy

      ... and quick too

      It's all a matter of how big your generic cut and paste repository is. I happened to remember where to cut and paste from really fast. That is all. Keep everything and keep it well sorted.


        it works..thank you so much!
        people save the darndest copy/pastes cpan -f -i -T Module
        $ perldoc cpan |ack "[-][fiT]" -f Force the specified action, when it normally would have failed +. Use option, -i is not optional for installing a module when you ne +ed to % cpan -f -i Module::Foo -i Install the specified modules. -T Do not test modules. Simply install them. # install modules ( sole -i is optional ) cpan -i Netscape::Booksmarks Business::ISBN # force install modules ( must use -i ) cpan -fi CGI::Minimal URI Japheth Cleaver added the bits to allow a forced install (-f).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://606771]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2018-04-27 07:51 GMT
Find Nodes?
    Voting Booth?