Skip Menu |

This queue is for tickets about the YAML-Syck CPAN distribution.

Report information
The Basics
Id: 87034
Status: resolved
Priority: 0/
Queue: YAML-Syck

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

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



Subject: precedence error in inc/Test/Builder.pm
Possible precedence issue with control flow operator at /home/rurban/Perl/.cpan-build/YAML-Syck-1.27-NdiTMx/inc/Test/Builder.pm line 917. t/1-basic.t ................... ok See https://rt.perl.org/rt3/Public/Bug/Display.html?id=59802 Please update your bundled Test-Simple --- inc/Test/Builder.pm~ +++ inc/Test/Builder.pm @@ -915,7 +915,7 @@ sub _is_dualvar { 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; }
On 2013-07-18 17:31:26, rurban@x-ray.at wrote: Show quoted text
> Possible precedence issue with control flow operator at > /home/rurban/Perl/.cpan-build/YAML-Syck-1.27- > NdiTMx/inc/Test/Builder.pm line 917. > t/1-basic.t ................... ok > > See https://rt.perl.org/rt3/Public/Bug/Display.html?id=59802 >
A sample test report with this warning: http://www.cpantesters.org/cpan/report/9d4be528-de0e-11e3-948a-92a7e0bfc7aa
I've updated all of the modules in inc from CPAN. I'll be shipping a devel version out today.