Skip Menu |
 

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

Report information
The Basics
Id: 87312
Status: new
Priority: 0/
Queue: DBIx-Cursor

People
Owner: Nobody in particular
Requestors: rurban [...] x-ray.at
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Attachments


Subject: [PATCH] wrong return precedence
Download (untitled) / with headers
text/plain 133b
returns binds stronger than or, so the expressions after or are ignored. See https://rt.perl.org/rt3/Public/Bug/Display.html?id=59802
Subject: DBIx-Cursor-0.14-returnor.patch
diff -bu ./Cursor.pm~ ./Cursor.pm --- ./Cursor.pm~ 2002-09-09 15:59:04.000000000 -0500 +++ ./Cursor.pm 2013-07-25 10:07:23.589352378 -0500 @@ -97,7 +97,7 @@ my $self = shift; my $colname = shift; - return $self->{type}{$colname} or croak ("column $colname not found"); + return $self->{type}{$colname} || croak ("column $colname not found"); } # ----------------------------------------------------------------------


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.