Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: What are Modules

by dragonchild (Archbishop)
on Dec 07, 2001 at 20:11 UTC ( #130217=note: print w/replies, xml ) Need Help??

in reply to What are Modules

A module is a collection of functions that is used in multiple programs. You would use a module in different ways, depending on the way it's implemented.
  1. A class for an OO system
  2. A repository of functions, with Exporter
CPAN is the Comprehensive Perl Archive Network. Among many other purposes, it serves as a repository for useful modules. Some of the ones you'll hear a lot about are CGI, Class::*, and Devel::*.

You would download a module from CPAN and install it, using the instructions that came with the module.

As for more info, I suggest purchasing Programming Perl, 3rd edition. There's a number of chapters there about modules and a whole chapter on CPAN.

We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://130217]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2020-06-04 22:11 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (35 votes). Check out past polls.