Skip Menu |
 

This queue is for tickets about the File-DataClass CPAN distribution.

Report information
The Basics
Id: 87255
Status: resolved
Priority: 0/
Queue: File-DataClass

People
Owner: Support [...] RoxSoft.co.uk
Requestors: rurban [...] x-ray.at
Cc:
AdminCc:

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

Attachments
File-DataClass-v0.20.13-returnand.patch



Subject: [PATCH] wrong return precedence
Download (untitled) / with headers
text/plain 135b
returns binds stronger than and, so the expressions after and are ignored. See https://rt.perl.org/rt3/Public/Bug/Display.html?id=59802
Subject: File-DataClass-v0.20.13-returnand.patch
diff -bu File-DataClass-v0.20.13-IbFp85/lib/File/DataClass/ResultSource.pm~ File-DataClass-v0.20.13-IbFp85/lib/File/DataClass/ResultSource.pm --- File-DataClass-v0.20.13-IbFp85/lib/File/DataClass/ResultSource.pm~ 2013-06-08 08:24:51.000000000 -0500 +++ File-DataClass-v0.20.13-IbFp85/lib/File/DataClass/ResultSource.pm 2013-07-24 10:47:39.723444907 -0500 @@ -44,7 +44,7 @@ sub has_column { my $attr = $_[ 0 ]->_attributes; my $key = $_[ 1 ] || q(_invalid_key_); - return exists $attr->{ $key } and $attr->{ $key } ? TRUE : FALSE; + return ((exists $attr->{ $key } and $attr->{ $key }) ? TRUE : FALSE); } sub resultset {
Fixed in the next release


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.