Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: cdr [...] jeka.com
Cc:
AdminCc:

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



Subject: Possible precedence issue with control flow operator
Date: Sun, 16 Jul 2017 08:44:49 +0200
To: bug-DBIx-Cursor [...] rt.cpan.org
From: Christian Drauch <cdr [...] jeka.com>
Hi, @perl v5.24.1 (Debian stretch): *Possible precedence issue with control flow operator at /usr/local/share/perl/5.24.1/DBIx/Cursor.pm line 100* My easy workaround ;-) 100,104c100 < if ($self->{type}{$colname}) { < return $self->{type}{$colname}; < } else { < croak ("column $colname not found"); < } --- Show quoted text
> return $self->{type}{$colname} or croak ("column $colname not found");
best regards, Chris