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

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

From: Dana Hudes
Subject: why does retrieve_all return CDBI::Iterator in array context?
Date: 02:42 on 12 Aug 2004
The documentation implies that
my @objs = CD::Artists->retrieve_all
will give me an array of Artists objects.
Instead I get an array of Class::DBI::Iterator objects.

It seems to me that this used to work correctly.

I certainly do NOT want a bunch of iterator objects!

why does retrieve_all return CDBI::Iterator in array context?
Dana Hudes 02:42 on 12 Aug 2004

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