Perl Modules
NEW!!!
Check my new resource: Perl How To Tutorial eBooks
We'll refer below to Perl Modules. When we talk about modules we refer to some well-structured components of the system, which have an interface defined to some other components of the system. Starting with the fifth version, Perl provides you thousands of modules available through CPAN (Comprehensive Perl Archive Network) or other resources. A module is a piece of code that others have already written, code that you can use and integrate in your own Perl script in order to save a lot of time. You can design your own modules in order to optimize your code or use modules made by others. Refactoring the source code by creating your own modules is beyond the scope of this page, so we’ll discuss here only the opportunities you have in implementing the modules available at a certain moment on different platforms.
Check my new How To Tutorial eBooks (PDF format):to see a lot of fully commented examples that help you use the Perl statements and the Perl buit-in functions in your scripts.
It is very probable that, if you have a problem to code into your script, there is somebody who has already solved and made it available on CPAN, so reusing code through a module interface is always a good idea. On the other hand, there are two types of Perl modules: those that are distributed with Perl which you can use immediately after the Perl installation, and those you can download from CPAN or other sources and install yourself. Each module available on CPAN has a detailed documentation which you can read before downloading the entire package and see by yourself if it’s what you are looking for. Some modules depend on other modules, so please read carefully the associated documentation before you download and install them. In order to use a module it’s not necessary to know how all of the behind-the-scenes magic works, it’s only important to understand its interface and know its functions or subroutines. To find modules that are not distributed with Perl you can start browsing through the CPAN categories or search Google or some other search engines directly.
Subscribe now to my FREE newsletter (regarding tips and tricks to manipulate multidimensional arrays and hashes in Perl) and you'll receive a link to download for FREE my Perl chomp Function Tutorial eBook (a $7.50 value), it's a bonus for you and I hope you'll enjoy it. You can see its Table of Contents here (if you subscribe to my free newsletter, you don't have to pay for this eBook or use your paypal account).
Related links:
Perl ZIP File
Perl Plotting
Image Magick Perl
PDF Perl
return from Perl Modules to Home Page
Would you like to create your own website like this one? Hit the Alarm Clock!


|