I generally do much the same, but work from a relative path using the FindBin module. FindBin will give you the directory the script is running from. My additional libs are generally in a folder relative to this location as below.
use FindBin; use lib $FindBin::Bin . '/lib';
In reply to Re^2: How to add a file to @INC path in perl
by Kc12349
in thread How to add a file to @INC path in perl
by sarvan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |