[Dbix-class] minimalistic Moose / DBIC glue module

Eden Cardim edencardim at gmail.com
Sun Jun 27 01:41:42 GMT 2010


>>>>> "John" == John Napiorkowski <jjn1056 at yahoo.com> writes:

    John> I generally try to do this as well, however I find that doing
    John> this for simple finds on primary keys gets a bit tedious, and
    John> frankly I wonder if I'm not wasting time and adding to
    John> complexity.  Would be interested in your thoughts.

Yes, letting ->find pass through is ok, since it isn't a very complex
part of the DBIC API, things like ->next and ->all are ok too, as long
as you remain agnostic about what underlying object is actually handling
the methods.



More information about the DBIx-Class mailing list