[Dbix-class] Creating custom ResultSet Class.

Marc Mims marc at questright.com
Thu Apr 26 19:37:41 GMT 2007


[oops! failed to do a reply to list --- resending]
* Oleg Pronin <syber.rus at gmail.com> [070426 11:30]:
> Is there a good way to set my custom resultset to all registered result
> sources?

I'll take a crack at it and somebody who knows better can correct me.
;-)

$schema->source($_)->resultset_class('My::ResultSet::Class')
   for $schema->sources;

	-Marc



More information about the Dbix-class mailing list