in reply to Set::Object's of Class::DBI objects

After reading Set::Object's code, your second question is easy - it doesn't matter which Set::Object instance invokes the intersection() method.

Your first question, however ... I'm not fully positive on. The includes() method is implemented in XS and I'm not the world's best XS reader. However, I'm going to go out on a limb and say that Set::Object is not playing nicely with what stringification Class::DBI is providing, if any.

I would recommend you create a test case using DBD::SQLite (so that it's portable) and send it to Set::Object's author (Sam Vilain).

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

  • Comment on Re: Set::Object's of Class::DBI objects

Replies are listed 'Best First'.
Re: Re: Set::Object's of Class::DBI objects
by fx (Pilgrim) on Mar 25, 2004 at 20:29 UTC

    The same thing happens (ie. the intersection does not work) when using DBD::SQLite.

    I have sent a message to Sam Vilain as you suggest.

    Thanks,

    fx