Skip Menu |

This queue is for tickets about the Curses-UI CPAN distribution.

Report information
The Basics
Id: 87273
Status: new
Priority: 0/
Queue: Curses-UI

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: Curses-UI-0.9609-returnor.patch
diff -bu Curses-UI-0.9609-AeRnsY/lib/Curses/UI/Calendar.pm~ Curses-UI-0.9609-AeRnsY/lib/Curses/UI/Calendar.pm --- Curses-UI-0.9609-AeRnsY/lib/Curses/UI/Calendar.pm~ 2011-08-31 21:07:49.000000000 -0500 +++ Curses-UI-0.9609-AeRnsY/lib/Curses/UI/Calendar.pm 2013-07-24 16:00:34.428012092 -0500 @@ -563,7 +563,7 @@ sub is_julian ($$;) { my ($year, $month) = @_; - return $year < 1752 or ($year == 1752 and $month <= 9); + return ($year < 1752 or ($year == 1752 and $month <= 9)); } sub day_of_week($$$;)