perl-build - perl binary builder
# perl-build command is FatPacker ready % curl -L https://raw.github.com/tokuhirom/Perl-Build/master/perl-build | perl - 5.16.2 /opt/perl-5.16/ # Or, just install from CPAN % cpanm Perl::Build # And run it. % perl-build 5.16.2 /usr/local/perl-5.16.2 % perl-build path/to/perl-5.16.2.tar.gz /usr/local/perl-5.16.2
This script fetch/build/install perl5 from CPAN or tar ball.
-Dxxx, -Axxx, -Uxxx options are pass through to ./Configure script.
This option enables make test after building.
make test
(Default: disabled)
You can set PERL5_PATCHPERL_PLUGIN environment variable by this option.
Specify perl build path. optional. (Default: temporary directory)
Parallel building and testing.
Specify the tar ball saving directory.
(Default: temporary directory, will remove after building)
% perl-build --definitions
Display the available perl versions and exit.
Show version number and exit.
Create symlinks for development version perl commands.
Skip installation of manpages. This is equivalent to specifying -Dman1dir=none and -Dman3dir=none.
-Dman1dir=none
-Dman3dir=none
RURBAN provides Devel::PatchPerl::Plugin::Asan. Install it and run perl-build --patches=Asan 5.16.1 /opt/perl/5.16/.
perl-build --patches=Asan 5.16.1 /opt/perl/5.16/
perlbrew, plenv
To install Perl::Build, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Build
CPAN shell
perl -MCPAN -e shell install Perl::Build
For more information on module installation, please visit the detailed CPAN module installation guide.