in reply to Re^5: Local library for module test script
in thread Local library for module test script
I'm actually amazed that anyone would think that test suite files *ought* to be runnable from everywhere... expectations ...
Sure, why not? Its only perl code after all, and its not like it takes any extra thought or effort to chdir to a start dir you depend on, its the most basic of good portability practices , dont assume a cwd, ensure the cwd you depend on is the one you want
Its right up there with not assuming you can have "_build" and "_BUILD" in the same directory
Its right up there with not assuiming a /tmp... and using File::Spec -> tmpdir or File::Temp::newdir
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Local library for module test script (/tmp)
by tye (Sage) on Dec 03, 2014 at 21:02 UTC |