To find modules that don’t come with Perl, start at either CPAN Search (http://
search.cpan.org) or Kobes’ Search ().* You can browse
through the categories or search directly.
#perldoc module_name
to find whether you installed the module.
$ perldoc Llamas
$ No documentation found for "Llamas".
Installing Modules
When you want to install a module that you don’t already have, sometimes you can
simply download the distribution, unpack it, and run a series of commands from the
shell. Check for a README or INSTALL file that gives you more information. If the
module uses MakeMaker,† the sequence will be something like this:
$ perl Makefile.PL
$ make install
阅读(416) | 评论(0) | 转发(0) |