[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


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

I wrote a patch below:

$ diff Cached.pm Cached.pm.org
<   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