in reply to Re: ADD directory to @INC using a string variable
in thread ADD directory to @INC using a string variable
Thanks for your response but I want to use the path in a string variable.
my $path = "/abc/xyz/bcd"
use lib $path;
it throws me the following error
Empty compile time value given to use lib at CWD/filename.pm
Thanks,
Sid