in reply to Re^2: Local library for module test script
in thread Local library for module test script
(at least I thought :)
I supposed that lib takes the file's path as base.
The perldoc wasn't clear¹, so I tested by changing the working directory with chdir before use and it seemed to work fine.
But now I am realizing that I should have put the chdir into a BEGIN block, otherwise it happens too late.
So your point is valid!!!
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
¹) but led me now to FindBin
|
|---|