Created at:

Perl notes

Installing and using a perl module in a non-standard location

Just pass a DESTDIR option when executing the Makefile.PL file:

    perl Makefile.PL DESTDIR=<location>

To use it, just use the use lib command before loading the modules:

    use lib "<location>";

If you don't want to modify the Perl script, setting an environment variable that indicates the Perl library location is enough.

    export PERL5LIB=<location>

A README.mkd file that documents PERL5LIB usage