Hermida, Leandro wrote:
> What is the best way to get the top-level lib directory into Catalyst's
> @INC?  Should I do a "use lib '...'" somewhere in a Catalyst file?

myapp_server.pl, probably (and the other ones).  Catalyst::Test (etc.)
won't use this, though, so you should run your tests with the
appropriate -I flags (which you could do instead of changing myapp_*.pl):

     $ perl -Ilib -Iweb/lib web/script/myapp_server.pl

or
     $ prove -Ilib -Iweb/lib web/t

etc.

-- 
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to