Well this is what I am doing, finding the current path of the script first, so I am not sure if I can set $some_path any earlier.
in reply to Re: use lib statement with path variable
in thread use lib statement with path variable
$some_path = dirname(File::Spec->rel2abs(__FILE__));
use lib qw($some_path/lib);