Module::Build::Functions

Module::Install style syntax for Module::Build
Download

Module::Build::Functions Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Curtis Jewell
  • Publisher web site:
  • http://search.cpan.org/~csjewell/

Module::Build::Functions Tags


Module::Build::Functions Description

Module::Install style syntax for Module::Build Module::Build::Functions is a Perl module that gives a Module::Install-like syntax to Module::Build, using modules (other than Module::Build itself) that are in the core in 5.006.Most commands from Module::Install will be supported, and most parameters to Module::Build's new routine are supported as commands. This includes the share directory implementation that Module::Install::Share and File::ShareDir implements.This means that using this module instead of Module::Install can be as easy as replacing the use inc::Module::Install line by use inc::Module::Build::Functions, and renaming the resulting file to Build.PL.Unfortunately, Module::Install extensions are not supported, nor is the Module::Install::DSL syntax.You may wish to look at the code for documentation at this point, as not all functions are documented yet. This will be corrected, I promise.SYNOPSIS # Our own Build.PL. use strict; $^W = 1; # Can't use "use warnings", see perl_version below. use inc::Module::Build::Functions; module_name 'Module::Build::Functions'; license 'perl'; perl_version '5.005'; dist_author 'Curtis Jewell < csjewell@cpan.org >'; dist_version_from 'lib/Module/Build/Functions.pm'; autosplit 'lib/Module/Build/Functions.pm'; requires 'File::Slurp'; test_requires 'Test::More'; test_requires 'Test::Compile'; test_requires 'Capture::Tiny' => 0.06; add_to_cleanup 'Module-Build-Functions-*'; create_makefile_pl 'passthrough'; functions_self_bundler; create_build_script; # To bundle Module::Build::Functions as above. # (Only needs to be ran once if functions_self_bundler is used) perl -MModule::Build::Functions -e bundler Requirements: · Perl


Module::Build::Functions Related Software