[Dbix-class] [PATCH]DBIC::Cursor::Cached's next method has bug.

atsushi kobayashi nekokak at gmail.com
Tue Aug 7 10:11:58 GMT 2007


Hi,All

DBIC::Cursor::Cached is so good!
but, next method has bug.

I wrote a patch below:

$ diff Cached.pm Cached.pm.org
37c37
<   return @{($self->{data} ||= $self->_fill_data)->[$self->{pos}++]||[]};
---
>   return @{($self->{data} ||= $self->_fill_data)->{$self->{pos}++}||[]};


Does the patch seem good?

-- 
Atsushi Kobayashi



More information about the DBIx-Class mailing list