tokuhirom's Blog

Shipped Perl::Build 0.01!

I shipped Perl::Build 0.01 to CPAN!

Perl::Build is yet another perl builder module.

This module contains `perl-build` script!

You can use following command to install perl binary.

perl-build 5.16.2 /usr/local/perl-5.16.2

Of course, you can use Perl::Build as library.

    # install perl from CPAN
    Perl::Build->install_from_cpan(
        '5.16.2' => (
            dst_path          => '/path/to/perl-5.16.2/',
            configure_options => ['-des'],
        )
    );

    # install perl from tar ball
    Perl::Build->install_from_cpan(
        'path/to/perl-5.16.2.tar.gz' => (
            dst_path          => '/path/to/perl-5.16.2/',
            configure_options => ['-des'],
        )
    );

Enjoy!