Skip Menu |

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 66666
Status: resolved
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: roman.daniel [...] gtsnovera.cz
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.08127
Fixed in: 0.08191



Subject: Exiting subroutine via next in DBIx::Class::ResultSource::sequence
Loading some old schema I got a warning Exiting subroutine via next at /usr/local/share/perl5/DBIx/Class/ResultSource.pm line 636 I think there is a typo in sequence next should be replaced by return sub sequence { my ($self,$seq) = @_; my @pks = $self->primary_columns or next; $_->{sequence} = $seq for values %{ $self->columns_info (\@pks) }; }
On Wed Mar 16 14:22:15 2011, DANIELR wrote: Show quoted text
> Loading some old schema I got a warning > Exiting subroutine via next at > /usr/local/share/perl5/DBIx/Class/ResultSource.pm line 636 > > I think there is a typo in sequence next should be replaced by return > > > sub sequence { > my ($self,$seq) = @_; > > my @pks = $self->primary_columns > or next; > > $_->{sequence} = $seq > for values %{ $self->columns_info (\@pks) }; > }
Already fixed, will release shortly (fsvo of shortly) http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits/DBIx-Class.git;a=commitdiff;h=5b0bea843cd41bd5f81805bc0175c23465f8247f
"shortly" is finally here :)