[Catalyst] Catalyst tutorial

Moritz Onken onken at houseofdesign.de
Sun Jul 19 12:46:05 GMT 2009


Am 19.07.2009 um 13:28 schrieb Octavian Râşniţă:

> In Catalyst::Manual::Tutorial::04_BasicCRUD.pod I read that we need  
> to specify the ResultSet classes we want to use with:
>
> __PACKAGE__->resultset_class('MyApp::Schema::ResultSet::Book');
>
> I've seen that it works even without it. Is this line really needed?

This works because you are using load_namespace in your schema  
definition. But there are components around which set the resultset  
class to a different one. Thus you might need to set the resultset  
class explicitly.

moritz


More information about the Catalyst mailing list