[Dbix-class] faking ResultSets

David Jack Olrik david at olrik.dk
Thu Jan 26 09:02:54 CET 2006


On 25/01/2006, at 16.00, Richard Jolly wrote:

> We have a growing mismatch in our code between methods that return
> ResultSet objects and those that return an array/arrayref of objects.
> This is in a Catalyst model layer.
>
> Is there a common solution to this problem? How do people keep  
> their api
> consistent?

What about http://search.cpan.org/~mramberg/DBIx-Class-AlwaysRS-0.01/

-- 
Best regards,
David Jack Olrik <david at olrik.dk>             http://david.olrik.dk
GnuPG fingerprint C290 0A4A 0CCC CBA8 2B37 E18D 01D2 F6EF 2E61 9894
["The first rule of Perl club is  You do not talk about Perl club"]




More information about the Dbix-class mailing list