Skip Menu |

This queue is for tickets about the Tangram CPAN distribution.

Report information
The Basics
Id: 87223
Status: patched
Priority: 0/
Queue: Tangram

Owner: daveh [...]
Requestors: rurban [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.10_01


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: Tangram-2.10-returnor.patch
diff -bu Tangram-2.10-fjDp7t/lib/Tangram/ Tangram-2.10-fjDp7t/lib/Tangram/ --- Tangram-2.10-fjDp7t/lib/Tangram/ 2006-03-28 23:05:29.000000000 -0600 +++ Tangram-2.10-fjDp7t/lib/Tangram/ 2013-07-23 14:54:41.530323494 -0500 @@ -185,7 +185,7 @@ sub classdef { my ($self, $class) = @_; - return $self->{classes}{$class} or confess "unknown class '$class'"; + return $self->{classes}{$class} || confess "unknown class '$class'"; } *get_class_by_name = \&classdef;

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to