in reply to Re: How to add a file to @INC path in perl
in thread How to add a file to @INC path in perl

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';