Hi
I have
$var = '/path/to/dir'; #top of the file before anything else
then in a subroutine I call a local module ...
sub (
use lib $var;
use MODULENAME;
)
On windows use lib $var; does not work. But it works if I put : use lib '/path/to/dir';
Why the $var is not working in use lib on windows?
I have
$var = '/path/to/dir'; #top of the file before anything else
then in a subroutine I call a local module ...
sub (
use lib $var;
use MODULENAME;
)
On windows use lib $var; does not work. But it works if I put : use lib '/path/to/dir';
Why the $var is not working in use lib on windows?