Jan Gehring > Rex-Bundle-0.5.0 > Rex::Bundle

Download:
Rex-Bundle-0.5.0.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.5.0   Source  

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";
syntax highlighting: