Solved FreeBSD Perl question: where does one load custom libraries?

I am testing ledgersmb which is a web accounting package written in Perl, uses Starman as the web server, and uses Apache for reverse proxying. The ledgersmb tarball install process places the application's modules in INSTALLDIR/lib.

I believe that PERL5LIB needs to be set, but where?
 
What is installdir actually resolved as?
What is the result of perl -E 'map{say}@INC'
You can use -I when invoking the script or even 'use lib /path' within the script itself, otherwise export perl5lib in your shell. Or am i missing something?
 
The PERL5LIB reference was obtaining in a how to document. This issue was solved in rc.conf by passing the include library ( -I) option through starman to plack.
 
Back
Top