perl-build - perl binary builder
# perl-build command is FatPacker ready % curl 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)
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.