[Catalyst] Re: How to configure multiple Apps with mod_perl?

Sebastian Riedel sri at oook.de
Mon May 23 01:45:26 CEST 2005

Am 23.05.2005 um 01:04 schrieb n.a:
> Contrary to my first question, I want to use the same
> 'action's among multiple Catalyst applications which run on the same
> Apache/mod_perl environment.
> This is mainly because economy for code-debugging time, not for  
> memory usage saving.
> Is it possible?

Should be no problem, just use a shared base class.

     package My::Foo::Bar;
     use base 'Catalyst::Base';

     sub something : Local {}
     sub something_else : Local {}


     package MyApp::C::Bar;
     use base 'My::Foo::Bar';

     package AnotherApp::C::Bar;
     use base 'My::Foo::Bar';


More information about the Catalyst mailing list