[Catalyst] lib question

Tomas Doran bobtfish at bobtfish.net
Fri Jan 15 17:58:55 GMT 2010


Dermot wrote:
> I guess it just a matter of approach. The Makefile.PL has
> 
> all_from 'lib/MyApp.pm';
> 
> so I guess that's what you mean by setting up @INC. 

Erm, no, that's not related at all..

> I tend to execute
> prove from the top level directory as `prove -r t`. I guess I will
> have to get used to use the -I option as well.

prove -l will do what you want, shorter than prove -Ilib :)

If you want to avoid it alltogether, export PROVE_SWITCHES="-l" in your 
shell setup?

Cheers
t0m



More information about the Catalyst mailing list