perl dynamic path given to 'use lib'
- by Ed Hyer
So, my code (Perl scripts and Perl modules) sits in a tree like this:
trunk/
util/
process/
scripts/
The 'util' directory has, well, utilities, that things in the 'process/' dir need. They get access like this:
use FindBin;
use lib "$FindBin::Bin/../util";
use UtilityModule qw(all);
That construct doesn't care where you…