Skip Menu |
 

This queue is for tickets about the TheSchwartz CPAN distribution.

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

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)

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;


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.