[plug] installing using Perl
David Lloyd
lloy0076 at adam.com.au
Sun Nov 13 11:10:34 WST 2005
Jon,
> Like to know how to install a perl module. Is it done as such:
> cpan install module::name
> I noticed there are some questions that you are prompt to answer.
> Or is it better to download the module and install it manually?
# cpan Tie::DBI
DO NOT do:
-- DON'T DO THIS
# cpan install Tie::DBI
--
...because there is a module called 'install' which is part of the
Junoscript. Don't ask - it's stupid and it had me scratching my head for
ages trying to work out why it was trying to install Junoscript when all
I was trying to do was install Tie::DBI or whatever module.
You only need to use the word install if you're in the CPAN shell (which
you can get to just by typing "cpan"):
# cpan
You may also want to attempt to install CPANPLUS - it's most 'useful'
feature is that it will let you install modules where tests fail.
Technically you shouldn't be installing modules where tests fail but
unfortunately you can get in an awful mess trying to work out which
modules did install and which modules didn't...and most of the time
failing tests haven't been - for me - seriously dangerous.
TAKE THE ABOVE ADVICE AS "CAVEAT EMPTOR" THOUGH.
DSL
More information about the plug
mailing list