in reply to Re^2: finding the library from test
in thread finding the library from test

No, I was saying use
use lib qw(path1); use lib qw(path2);
or (!) set and environment variable before calling your script.

Replies are listed 'Best First'.
Re^4: finding the library from test
by edwardt_tril (Sexton) on Mar 24, 2006 at 22:41 UTC
    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