Installing the Modules Under…

For each of the examples in the following sections, you will attempt to install the Date::Manip module from CPAN. To install your own module or bundle, simply substitute the name of your module in place of Date::Manip.


With Windows, the easiest solution is to use prepackaged modules available from ActiveState Tool Corp., assuming, of course, that the Perl installation you have is from ActiveState.

To install a prebuilt module under Windows, you first need to start the Perl Package Manager (PPM). This utility simplifies the module-building process for you by providing an interactive interface to module installation. To start the PPM, you need to open a DOS command prompt, as shown in Figure A.1; you should ...

Get SAMS Teach Yourself Perl in 24 Hours THIRD EDITION now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.