Chapter 4
Then you decompress the module distribution. For example, I decompress
Memoize with Gnu tar:
$ tar zxf Memoize 1.00.tar.gz
Then I enter the directory created:
$ cd Memoize 1.00
To build the Makefile, I run the Perl script Makefile.PL. This script examines
my system and builds a Makefile appropriate for my system:
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Memoize
Using the Makefile just created, I build the module. The make command follows
the instructions in the Makefile. It copies the Perl modules into a staging area
called blib that's used to assemble the module before installation. It also builds
manual pages from POD source.
$ make
cp Memoize.pm blib/lib/Memoize.pm
cp Memoize/ExpireTest.pm blib/lib/Memoize/ExpireTest.pm
cp Memoize/Saves.pm blib/lib/Memoize/Saves.pm
cp Memoize/Expire.pm blib/lib/Memoize/Expire.pm
cp Memoize/AnyDBM_File.pm blib/lib/Memoize/AnyDBM_File.pm
cp Memoize/Storable.pm blib/lib/Memoize/Storable.pm
cp Memoize/SDBM_File.pm blib/lib/Memoize/SDBM_File.pm
cp Memoize/ExpireFile.pm blib/lib/Memoize/ExpireFile.pm
cp Memoize/NDBM_File.pm blib/lib/Memoize/NDBM_File.pm
Manifying blib/man3/Memoize.3
Manifying blib/man3/Memoize::ExpireTest.3
Manifying blib/man3/Memoize::Saves.3
Manifying blib/man3/Memoize::Expire.3
Manifying blib/man3/Memoize::AnyDBM_File.3
Manifying blib/man3/Memoize::Storable.3
Manifying blib/man3/Memoize::ExpireFile.3
Manifying blib/man3/Memoize::SDBM_File.3
Manifying blib/man3/Memoize::NDBM_File.3
96
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved