Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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.

-Paul

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

    ... 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.

      -Paul

        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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://606771]
help
Chatterbox?
[holli]: Corion is well off. I am sure there is a script of his running in the frankfurt banking data center, diligently mining bitcoins ;-)
[Corion]: holli: Hahaha :-D

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2017-09-21 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (249 votes). Check out past polls.

    Notices?