[Catalyst] lib question

Florian Ragwitz rafl at debian.org
Fri Jan 15 17:30:14 GMT 2010


On Fri, Jan 15, 2010 at 05:15:13PM +0000, Dermot wrote:
> I had a search on the archives but I can't see anything. I doubt that
> it's an oversight, so can someone tell me the reason why the tests
> that are created by Catalyst::Helper do not have use FindBin and set
> lib accordingly?

My guess is because they don't need to. Things like prove and make test
will set up @INC to contain your applications lib/ directory. The
FindBin thingy is usually used to set up @INC to contain extra libraries
used only for testing from something like t/lib/.

I'm not aware of any generated test that does that.


-- 
BOFH excuse #321:
Scheduled global CPU outage
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100115/381ab77b/attachment.pgp


More information about the Catalyst mailing list