[Catalyst] How do you extend a model class from a plugin

Sebastian Riedel sri at oook.de
Tue Nov 29 04:24:27 CET 2005


29.11.2005 03:01 ben.norman at qmunity.net:
> To deliver the functionality all as one package I would like to  
> make the
> invocation of MyPlugin extend MyApp::Model::DB. Can you extend the  
> features of
> a Model class in a Plugin?

package MyApp::Model::DB;
use base qw/Catalyst::Model MyApp::Base::Foo  
Catalyst::Model::SomeMoreFoo/;
1;

--
sebastian




More information about the Catalyst mailing list