PPM::Make 0.76 review

Download
by rbytes.net on

PPM::Make is a Perl module that can Make a ppm package from a CPAN distribution. SYNOPSIS my $ppm = PPM::Make->new( [options]

License: Perl Artistic License
File size: 0K
Developer: Randy Kobes
0 stars award from rbytes.net

PPM::Make is a Perl module that can Make a ppm package from a CPAN distribution.

SYNOPSIS

my $ppm = PPM::Make->new( [options] );
$ppm->make_ppm();

See the supplied make_ppm script for a command-line interface.

This module automates somewhat some of the steps needed to make a ppm (Perl Package Manager) package from a CPAN distribution. It attempts to fill in the ABSTRACT and AUTHOR attributes of Makefile.PL, if these are not supplied, and also uses pod2html to generate a set of html documentation. It also adjusts CODEBASE of package.ppd to reflect the generated package.tar.gz or package.zip archive. Such packages are suitable both for local installation via

C:.cpanbuildpackage_src> ppm install

and for distribution via a repository.

Options can be given as some combination of key/value pairs passed to the new() constructor (described below) and those specified in a configuration file. This file can either be that given by the value of the PPM_CFG environment variable or, if not set, a file called .ppmcfg at the top-level directory (on Win32) or under HOME (on Unix). If the no_cfg argument is passed into new(), this file will be ignored.

The configuration file is of an INI type. If a section default is specified as

[ default ]
option1 = value1
option2 = value2

these values will be used as the default. Architecture-specific values may be specified within their own section:

[ MSWin32-x86-multi-thread-5.8 ]
option1 = new_value1
option3 = value3

In this case, an architecture specified as MSWin32-x86-multi-thread-5.8 within PPM::Make will have option1 = new_value1, option2 = value2, and option3 = value3, while any other architecture will have option1 = value1 and option2 = value2. Options specified within the configuration file can be overridden by passing the option into the new() method of PPM::Make.

Valid options that may be specified within the configuration file are those of PPM::Make, described below. For the program and upload options (which take hash references), the keys (make, zip, unzip, tar, gzip), or (ppd, ar, host, user, passwd), respectively, should be specified. For binary options, a value of yes|on in the configuration file will be interpreted as true, while no|off will be interpreted as false.

Requirements:
Perl

PPM::Make 0.76 keywords