in reply to Re: Local library for module test script
in thread Local library for module test script
cwd can change, best not to rely on it at all ... I'm frequently inside cwd() of "t" when trying to fix/debug some module, so relying on require "./t/..." would fail
I also often do perl dist-name-version/t/foo.t :) relying on cwd is weak sauce, it can work very often, but its weak practice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Local library for module test script
by syphilis (Archbishop) on Dec 03, 2014 at 07:14 UTC | |
by LanX (Saint) on Dec 03, 2014 at 08:35 UTC | |
by Anonymous Monk on Dec 03, 2014 at 10:43 UTC | |
by syphilis (Archbishop) on Dec 03, 2014 at 12:40 UTC | |
by GrandFather (Saint) on Dec 03, 2014 at 20:17 UTC | |
by Anonymous Monk on Dec 03, 2014 at 20:56 UTC | |
by tye (Sage) on Dec 03, 2014 at 21:02 UTC |