[CDBI] IsA correction

Kate Yoak kate at longmedia.com
Sat Sep 10 00:56:28 BST 2005


OK.  My stuff is now officially sweet.  :-)  The only issue I encountered
was CPAN's inability to install it.  Didn't dig in why.  Ran the
installation manually - it screamed at me for neither having sqlite nor
postgres; I told it to be quiet and we got along from there.

Only IsA still complains about search_where.  I swear I don't define it
anywhere!  Oh well.

Thanks for nudging me along toward the light side (I hope!)

> -----Original Message-----
> From: Matt S Trout [mailto:dbix-class at trout.me.uk]
> Sent: Thursday, September 08, 2005 10:14 PM
> To: Kate Yoak
> Cc: classdbi at svr02.digitalcraftsmen.net
> Subject: Re: [CDBI] IsA correction
>
>
> On Thu, Sep 08, 2005 at 09:56:17PM -0700, Kate Yoak wrote:
> > There are a couple of other minor issues:
> > 1.  IsA unlike the other relationships requires the the class using that
> > relationship to "use" the foreign class.
> > 2.  It complains about search_where being redefined if AbstractSearch is
> > already in use.
>
> However, search_where is already overloaded by Class::DBI::Sweet, which
> provides SQL::Abstract search and a host of other advantages. I'd strongly
> recommend against using AbstractSearch given Sweet's rather better way of
> handling it.
>
> --
>      Matt S Trout       Specialists in perl consulting, web
> development, and
>   Technical Director    UNIX/Linux systems architecture and
> automation. Mail
> Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more
> information
>
>  + Help us build a better perl ORM:
> http://dbix-class.shadowcatsystems.co.uk/ +
>






More information about the ClassDBI mailing list