Hi Sorry, I do not get what you mean. I am using use lib already and have changed to use ; as follows:
use lib qw(.;../..);
but I still gets Can't locate Data\BackendMap. Can you eloborate?
Thanks. | [reply] |
use lib qw(path1);
use lib qw(path2);
or (!) set and environment variable before calling your script. | [reply] [d/l] |
well I have tried that but the modules that contain the package is in other directory:
the tests then restore to what it was.
Here is my dir structure (all windows):
tools\DBQuery\Data\BackendMap.pm
tools\ToolLog\Logging.pm
test folders:
tools\DBQuery\test\TstBackEndMap\testbackendmap.t
so testbackendmap.t need to use Data::BackendMap but it cannot find it event I tried to use use lib qw(Data::BackendMap); or somehow I need to supply a reltive path and not the full path because I do not want to restrict where the app to be placed in the system thanks
| [reply] |