Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-DoubleUp CPAN distribution.

Report information
The Basics
Id: 87208
Status: open
Priority: 0/
Queue: App-DoubleUp

People
Owner: STUIFZAND [...] cpan.org
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: App-DoubleUp-v0.4.0-returnor.patch
diff -bu App-DoubleUp-v0.4.0-fCZyUR/lib/App/DoubleUp.pm~ App-DoubleUp-v0.4.0-fCZyUR/lib/App/DoubleUp.pm --- App-DoubleUp-v0.4.0-fCZyUR/lib/App/DoubleUp.pm~ 2012-11-19 04:59:35.000000000 -0600 +++ App-DoubleUp-v0.4.0-fCZyUR/lib/App/DoubleUp.pm 2013-07-23 11:52:13.112468931 -0500 @@ -119,7 +119,7 @@ sub connect_to_db { my ($self, $dsn, $user, $password) = @_; - return DBI->connect($dsn, $user, $password, { RaiseError => 1, PrintError => 0 }) or die "Can't $dsn"; + return DBI->connect($dsn, $user, $password, { RaiseError => 1, PrintError => 0 }) || die "Can't $dsn"; } sub process_querys_for_one_db {