Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Modules

September 28, 1998

Now that we understand OOD in Perl, we are ready to discuss another addition to the Perl universe made by Perl 5: Modules.

Perl 5 Modules are similar to Perl 4 required libraries in that they provide shared resources. However, in the case of Modules, what is being shared is more than simple subroutines, but rather actual objects. Modules are classes that define objects that may be accessed by other applications.

For instance, our cat class could be made into a module. And then it could be used by other perl applications.

To make a module, all we need to do is give it a .pm extension and make sure it is visible to any perl application that needs to use it. Once that is done, the module is ready to use.

Inheritance in Perl
Introduction to Perl 5 | Table of Contents
Using Modules



Up to => Home / Authoring / Languages / Perl / 5




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers