Skip Menu |

This queue is for tickets about the TheSchwartz CPAN distribution.

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

Owner: Jeff.Fearn [...]
Requestors: rurban [...]

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


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
Subject: TheSchwartz-1.10-returnor.patch
diff -bu TheSchwartz-1.10-kPs9EP/t/lib/ TheSchwartz-1.10-kPs9EP/t/lib/ --- TheSchwartz-1.10-kPs9EP/t/lib/ 2010-03-15 16:11:59.000000000 -0500 +++ TheSchwartz-1.10-kPs9EP/t/lib/ 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 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 infrastructure.

Please report any issues with to