Skip Menu |
 

This queue is for tickets about the Tie-Util CPAN distribution.

Report information
The Basics
Id: 87230
Status: new
Priority: 0/
Queue: Tie-Util

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: Tie-Util-0.03-returnand.patch
diff -bu Tie-Util-0.03-rsTT5F/t/Test/Builder.pm~ Tie-Util-0.03-rsTT5F/t/Test/Builder.pm --- Tie-Util-0.03-rsTT5F/t/Test/Builder.pm~ 2009-11-14 01:45:00.000000000 -0600 +++ Tie-Util-0.03-rsTT5F/t/Test/Builder.pm 2013-07-23 16:37:47.462425457 -0500 @@ -856,7 +856,7 @@ no warnings 'numeric'; my $numval = $val + 0; - return $numval != 0 and $numval ne $val ? 1 : 0; + return ($numval != 0 and $numval ne $val ? 1 : 0); } =item B<is_eq>


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.