in reply to Re^3: Require all modules in lib ?
in thread Require all modules in lib ?
It's indeed a path problem, and if all the scripts are in the same directory it works fine. So since my scripts are in different directories i used Cwd and chdir'ed to the correct lib directory before doing the require. Since the caller script is in another directory it works ok this way .
Thanks a lot !
|
|---|