$ perldoc cpan |grep -i force -C2 and CPAN version. -f Force the specified action, when it normally would have failed +. Use this to install a module even if its tests fail. When you use +this option, -i is not optional for installing a module when you ne +ed to force it: % cpan -f -i Module::Foo -- cpan -i Netscape::Booksmarks Business::ISBN # force install modules ( must use -i ) cpan -fi CGI::Minimal URI -- CREDITS Japheth Cleaver added the bits to allow a forced install (-f). Jim Brandt suggest and provided the initial implementation for the
On the second one a similar instruction
so either run it as root (administrator) or use --sudo , or run with --local-lib . You can also use this instead of --local-lib! - run me as a root or with --sudo option | - run me with --local-lib option !
export PERL_MB_OPT=--install_base /home/user/devstuff export PERL_MM_OPT=INSTALL_BASE=/home/user/devstuff export PERL5LIB=/home/user/devstuff/perl5 cpanp i WWW::Mechanize --force --skiptest
In reply to Re: Hell of a time installing module WWW::Mechanize
by Anonymous Monk
in thread Hell of a time installing module WWW::Mechanize
by cat_baby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |