Rex::Bundle - Bundle Perl Libraries
Rex::Bundle is a Rex module to install needed perl modules into a private folder separated from the system librarys.
IRC: irc.freenode.net #rex
Wiki: https://github.com/krimdomu/rex-bundle/wiki
Bug Tracker: https://github.com/krimdomu/rex-bundle/issues
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";
To install Rex::Bundle, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rex::Bundle
CPAN shell
perl -MCPAN -e shell install Rex::Bundle
For more information on module installation, please visit the detailed CPAN module installation guide.