Re: why does retrieve_all return CDBI::Iterator in array context?

[prev] [thread] [next] [Date index for 2004/08/12]

From: Tony Bowden
Subject: Re: why does retrieve_all return CDBI::Iterator in array context?
Date: 08:02 on 12 Aug 2004
On Wed, Aug 11, 2004 at 10:42:22PM -0400, Dana Hudes wrote:
> The documentation implies that
> my @objs = CD::Artists->retrieve_all
> will give me an array of Artists objects.

Correct. And it does for me.

> Instead I get an array of Class::DBI::Iterator objects.
> It seems to me that this used to work correctly.

Still does for me.

> I certainly do NOT want a bunch of iterator objects!

Few people would! :)

Can you post some code that shows the problem?

Thanks,

Tony

Re: why does retrieve_all return CDBI::Iterator in array context?
Tony Bowden 08:02 on 12 Aug 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52