Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: What are Modules

by dragonchild (Archbishop)
on Dec 07, 2001 at 20:11 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found