Skip Menu |

This queue is for tickets about the DBD-Fulcrum CPAN distribution.

Report information
The Basics
Id: 87308
Status: new
Priority: 0/
Queue: DBD-Fulcrum

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)



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: DBD-Fulcrum-0.20-returnor.patch
diff -bu DBD-Fulcrum-0.20-3hlx44/Makefile.PL~ DBD-Fulcrum-0.20-3hlx44/Makefile.PL --- DBD-Fulcrum-0.20-3hlx44/Makefile.PL~ 1998-12-16 09:14:59.000000000 -0600 +++ DBD-Fulcrum-0.20-3hlx44/Makefile.PL 2013-07-24 15:56:54.873965682 -0500 @@ -106,7 +106,7 @@ printflush(STDOUT,"[$default] ") if $default; my $value = <>; chomp $value; - return $value or $default; + return $value || $default; } sub MY::postamble {