The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Rex::Bundle - Bundle Perl Libraries

DESCRIPTION

Rex::Bundle is a Rex module to install needed perl modules into a private folder separated from the system librarys.

GETTING HELP

USAGE

Create a Rexfile in your project directory and add the following content to it:

 install_to 'vendor/perl'
    
 desc "Check and install dependencies";
 task "deps", sub {
    mod "Mod1", url => "git://...";
    mod "Foo::Bar";
    # ...
 };

Now you can check if all dependencies are met (and if not, it will install the needed modules) with rex deps.

After you've installed the dependencies you can use them by appending the install_to directory to @INC.

 use lib "vendor/perl";