Tweet

How do I find documentation about modules, and the modules themselves?

You want to find the documentation for a module, or for a function within a modules. For example, the module Net::FTP.

You also want to know how to get and install the module.

Solution: Use perldoc options and cpan

Try:

    perldoc Net::FTP

To download Net::FTP, either surf to:

cpan search

and follow the installation instructions,

or use the "cpan" program. To use cpan, become the root user, and type in:

    cpan

If you've never used cpan before it will probably ask you some setup questions.

To install your module, type in install [module_name]:

    install Net::FTP
Revision: 1.5 [Top]