lib::relative::to::GitRepository
use lib::relative::to GitRepository => qw(lib t/lib);
A plugin for lib::relative::to for finding the root of a git repository and then adding some directories under it to @INC.
@INC
It works by looking for the parent directory containing .git/config.
.git/config
To install lib::relative::to, copy and paste the appropriate command in to your terminal.
cpanm
cpanm lib::relative::to
CPAN shell
perl -MCPAN -e shell install lib::relative::to
For more information on module installation, please visit the detailed CPAN module installation guide.