in reply to Re^2: ADD directory to @INC using a string variable
in thread ADD directory to @INC using a string variable

use lib './somepath/';
or
BEGIN { my $path = 'somepath'; push @INC, $path; }
or why not just let the user set his/her PERL5LIB environment variable?