[Catalyst] reference lib outside Catalyst web application
	directory
    Matt S Trout 
    dbix-class at trout.me.uk
       
    Tue Dec 12 17:18:30 GMT 2006
    
    
  
On 12 Dec 2006, at 16:57, Hermida, Leandro wrote:
>
> Hello,
>
> I have the following folder hierarchy for a project which will have a
> web component that is driven by Catalyst:
>
> MyProj/
>      lib/
>      sql/
>      web/  <--- Catalyst application dir created using catalyst.pl
>          lib/
>          root/
>          script/
>          t/
Why not just make your Catalyst app as MyProj::Web so its files live in
MyProj/lib/MyProj/Web.pm
MyProj/lib/MyProj/Web/(Controller|Model|View)/...
--  
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for  
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for  
details.
+ Help us build a better perl ORM: http://dbix- 
class.shadowcatsystems.co.uk/ +
    
    
More information about the Catalyst
mailing list