table of contents
| ExtUtils::Builder::CPAN::Tool(3pm) | User Contributed Perl Documentation | ExtUtils::Builder::CPAN::Tool(3pm) |
NAME¶
ExtUtils::Builder::CPAN::Tool - A base implementation for CPAN build scripts.
VERSION¶
version 0.019
SYNOPSIS¶
my $planner = ExtUtils::Builder::Planner->new;
$planner->create_phony($_) for qw/code manify dynamic/;
$planner->create_phony('all', qw/code manify dynamic/);
$planner->load_extension('ExtUtils::Builder::CPAN::Tool');
$planner->new_scope->run_dsl($_) for glob 'planner/*.pl';
my $plan = $planner->materialize;
$plan->run('all');
DESCRIPTION¶
This provides a base implementation of the CPAN build script protocol. Known specializations of this extension are Dist::Build and ExtUtils::Builder::MakeMaker.
DELEGATES¶
config¶
The ExtUtils::Config (or compatible) object for this build.
meta¶
A CPAN::Meta object representing the metadata for this distribution. By default this will just load the META.json in the current directory.
distribution¶
The name of the distribution
version¶
The version of the distribution (as a version object).
main_module¶
The main module of the distribution.
release_status¶
The release status of the distribution (e.g. 'stable').
perl_path¶
The path to the perl executable.
is_os(@os_names)¶
This returns true if the current operating system matches any of the listed ones.
is_os_type($os_type)¶
This returns true if the type of the OS matches $os_type. Legal values are "Unix", "Windows" and "VMS".
verbose¶
The requested verbosity. By default this is a stub that always returns false.
uninst¶
The value of the "uninst" command line argument. By default this is a stub that always returns false.
jobs¶
The requested number of jobs for this build. By default this is a stub that always returns 1.
pureperl_only¶
The value of the pureperl_only argument. By default this is a stub that always returns false.
new_planner.¶
This creates a new planner, sharing a configuration object with the current one.
AUTHOR¶
Leon Timmermans <fawaka@gmail.com>
COPYRIGHT AND LICENSE¶
This software is copyright (c) 2013 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| 2025-12-19 | perl v5.40.1 |