ExtUtils::ModuleMakerExtUtils::ModuleMaker is a Perl module better than h2xs for creating modules. | |
Download |
ExtUtils::ModuleMaker Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- R. Geoffrey Avery
- Publisher web site:
- http://search.cpan.org/~jkeenan/ExtUtils-ModuleMaker-0.47/lib/ExtUtils/ModuleMaker/Licenses/Standard.pm
ExtUtils::ModuleMaker Tags
ExtUtils::ModuleMaker Description
ExtUtils::ModuleMaker is a Perl module better than h2xs for creating modules. ExtUtils::ModuleMaker is a Perl module better than h2xs for creating modules.SYNOPSISAt the command prompt: % modulemakerInside a Perl program: use ExtUtils::ModuleMaker; $mod = ExtUtils::ModuleMaker->new( NAME => 'Sample::Module' ); $mod->complete_build(); $mod->dump_keys(qw| ... # key provided as argument to constructor ... # same |); $mod->dump_keys_except(qw| ... # key provided as argument to constructor ... # same |); $license = $mod->get_license(); $mod->make_selections_defaults();This module is a replacement for the most typical use of the h2xs utility bundled with all Perl distributions: the creation of the directories and files required for a pure-Perl module to be installable with make and distributable on the Comprehensive Perl Archive Network (CPAN).h2xs has many options which are useful -- indeed, necessary -- for the creation of a properly structured distribution that includes C code as well as Perl code. Most of the time, however, h2xs is used as follows % h2xs -AXn My::Moduleto create a distribution containing only Perl code. ExtUtils::ModuleMaker is intended to be an easy-to-use replacement for this use of h2xs.While you can call ExtUtils::ModuleMaker from within a Perl script (as in the SYNOPSIS above), it's easier to use with a command-prompt invocation of the modulemaker script bundled with this distribution: % modulemakerThen respond to the prompts. For Perl programmers, laziness is a virtue -- and modulemaker is far and away the laziest way to create a pure Perl distribution which meets all the requirements for worldwide distribution via CPAN. Requirements: · Perl
ExtUtils::ModuleMaker Related Software