Skip Menu |
 

This queue is for tickets about the Dotiac CPAN distribution.

Report information
The Basics
Id: 87304
Status: new
Priority: 0/
Queue: Dotiac

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 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: Dotiac-0.8-returnand.patch
diff -bu ./lib/Dotiac/DTL/Value.pm~ ./lib/Dotiac/DTL/Value.pm --- ./lib/Dotiac/DTL/Value.pm~ 2009-02-05 15:40:13.000000000 -0600 +++ ./lib/Dotiac/DTL/Value.pm 2013-07-25 08:40:47.895798357 -0500 @@ -78,7 +78,7 @@ } sub scalar { - return !$_[0]->[2] and defined $_[0]->[0]; + return (!$_[0]->[2] and defined $_[0]->[0]); } sub true {


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.