[Dbix-class] RFC: list/array context, TT and search()

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Wed Mar 22 13:55:04 CET 2006


Will Hawes wrote:
> I'd vote for removing wantarray() completely. IMO, if a user wants 
> objects rather than a ResultSet, they should call ->all.

How about providing *_all methods to avoid doubling the number of method 
invocations and avoid constructing/destroying unwanted iterators?

Cheers, Dave



More information about the Dbix-class mailing list