Howto use Modules

Using modules is simple. You can download the needed modules with the command rexify.

If you already have written a Rexfile change into that directory and execute:

bash# rexify --use Your::Module

If you want to create a new project execute this code:

bash# rexify {{project-name}} --use Your::Module

These commands will download the module into the lib directory of your project. You can than use these modules in your Rexfile.

# Rexfile

include qw/Your::Module/;

# your tasks
task "foo", sub {};
Fork me on GitHub