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
IRC: irc.freenode.net #rex
Bug Tracker: https://github.com/krimdomu/rex-bundle/issues
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";