Skip Menu |
 

This queue is for tickets about the TheSchwartz CPAN distribution.

Report information
The Basics
Id: 87222
Status: resolved
Priority: 0/
Queue: TheSchwartz

People
Owner: Jeff.Fearn [...] gmail.com
Requestors: rurban [...] x-ray.at
Cc:
AdminCc:

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

Attachments


Subject: [PATCH] wrong return precedence
Download (untitled) / with headers
text/plain 133b
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: TheSchwartz-1.10-returnor.patch
diff -bu TheSchwartz-1.10-kPs9EP/t/lib/db-common.pl~ TheSchwartz-1.10-kPs9EP/t/lib/db-common.pl --- TheSchwartz-1.10-kPs9EP/t/lib/db-common.pl~ 2010-03-15 16:11:59.000000000 -0500 +++ TheSchwartz-1.10-kPs9EP/t/lib/db-common.pl 2013-07-23 14:50:57.508253923 -0500 @@ -165,7 +165,7 @@ sub mysql_dbh { return DBI->connect("DBI:mysql:mysql", "root", "", { RaiseError => 1 }) - or die "Couldn't connect to database"; + || die "Couldn't connect to database"; } my $pg_dbh;
Download (untitled) / with headers
text/plain 102b
Thanks for the patch. To git@github.com:jfearn/TheSchwartz.git 7a137a7..e89b55f master -> master
A fix for this issue shipped in Version 1.11.


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.