[Catalyst] Doing work inside the DBIx::Class model

Cian Barclay cianbarclay at gmail.com
Thu Feb 21 03:59:40 GMT 2008


>On Wed, Feb 20, 2008 at 4:33 PM, Zbigniew Lukasiak <zzbbyy at gmail.com>
wrote:
>
>
> He meant result_source:
>
http://cpan.uwinnipeg.ca/htdocs/DBIx-Class/DBIx/Class/ResultSet.html#result=
_source
>
>

Thanks Zbigniew and Toby, that's just what I needed to know. Is there
a good way to call a class method and get a resultset to use?
I'm using Widget::class_method($schema) to give it the schema
from $self->result_source->schema. Is there a better way to do it?

thanks
Cian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080221/76ed7=
58e/attachment.htm


More information about the Catalyst mailing list