Ïðèãëàøàåì ïîñåòèòü
Ïóøêèí (pushkin-lit.ru)

Picking the Right Module

Previous Table of Contents Next

Picking the Right Module

First, you need to pick the right module. A good starting place is the CPAN itself at http://www.perl.com/CPAN. You need to decide which module you're interested in.

CPAN modules are named, roughly, by what they do. For example, Image::Size takes an image and reports what size the image is; this module is useful for working with Web pages. Some modules have unusual names though. LWP derives its name from a Perl library called libwww-perl.

You also can find bundles of modules on CPAN. These bundles contain several related modules—and usually prerequisite modules—all in one large package. For example, the libnet bundle installs like a module, but in the process, you get several modules all related to networking. LWP is part of the libnet bundle, for example.

By the Way

When you install a module, you also automatically get all the documentation needed for that module.


    Previous Table of Contents Next