rlib - manipulate @INC at compile time with relative paths
use rlib LIST; no rlib LIST;
rlib works in the same way as lib, except that all paths in LIST are treated as relative paths.
LIST
If rlib is used from the main package then the paths in LIST are assumed to be relative to where the current script $0 is located. This is done by using the FindBin package.
main
$0
If rlib is used from within any package other tha main then the paths in LIST are assumed to be relative to the root of the library where the file for that package was found.
If LIST is empty then "../lib","lib" is assumed.
"../lib","lib"
lib - module which adds paths to @INC
FindBin - module for locating script bin directory
Graham Barr <gbarr@pobox.com>
To install rlib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm rlib
CPAN shell
perl -MCPAN -e shell install rlib
For more information on module installation, please visit the detailed CPAN module installation guide.