Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugins-CJM CPAN distribution.

Report information
The Basics
Id: 87277
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugins-CJM

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

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



Subject: [PATCH] wrong return precedence
returns binds stronger than or, so the expressions after or are ignored. See https://rt.perl.org/rt3/Public/Bug/Display.html?id=59802
Subject: Dist-Zilla-Plugins-CJM-4.16-returnor.patch
diff -bu ./lib/Dist/Zilla/Role/ModuleInfo.pm~ ./lib/Dist/Zilla/Role/ModuleInfo.pm --- ./lib/Dist/Zilla/Role/ModuleInfo.pm~ 2013-06-15 13:54:55.000000000 -0500 +++ ./lib/Dist/Zilla/Role/ModuleInfo.pm 2013-07-24 17:41:48.549798354 -0500 @@ -52,7 +52,7 @@ close $temp; return Module::Metadata->new_from_file("$tempname", @_) - or die "Unable to get module info from " . $file->name . "\n"; + || die "Unable to get module info from " . $file->name . "\n"; } # end get_module_info no Moose::Role;
Thanks for the report. It's fixed in version 4.17.