How to write
Perl Modules

Agenda

What a Perl Module is

Why it is convenient to use PMs

Before making a PM

Let’s start to make a Perl Module

What h2xs does for the developer

Some advice on writing the code of a PM

How to use a PM in a Perl program

Use Carp in Perl Modules

Example: the beginning of IEPM::PingER

Example: the subroutine ping_it

Preparing the package for shipping

References