--- On Fri, 7/11/08, Bruno <[EMAIL PROTECTED]> wrote:

> >  my $new_rs = $rs->filter( sub { defined
> $_->inflate_entity  } );
> 
> Sorry if this sounds stupid, but how about returning in
> list context then grep { defined $_->inflate_entity } ?

Because we use the resultset methods heavily, particularly the pager.  We'd 
have to find a minimal subset of behavior we'd be willing to support and wrap 
that in our our resultset wrapper.  Yuck.

Cheers,
Ovid
--
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6


_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to