Home-relative Perl module path?
Posted by: dh-user
Posted on: 2008-08-09 05:48:00
Are there any directories in my home dir that get automatically added to @INC when a cgi script is run? I'd prefer to factor a script into a simple cgi script that acts as a front-end to a .pm perl module. But I am unsure of where I could put that perl module (other than the same dir as the front-end cgi script) such that it would automatically be found by perl. Does such a place exist by default, or must I set the PERL5LIB environment variable or "use lib" with an explicit dir?