From 4fa6bcb02f19f2a9cecab11a6b29ed4adbe7a437 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sun, 15 Sep 2013 13:37:56 -0700 Subject: [PATCH] Fix precedence issue in JSON::PP --- cpan/JSON-PP/lib/JSON/PP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpan/JSON-PP/lib/JSON/PP.pm b/cpan/JSON-PP/lib/JSON/PP.pm index e9e65b1..12b7d51 100644 --- a/cpan/JSON-PP/lib/JSON/PP.pm +++ b/cpan/JSON-PP/lib/JSON/PP.pm @@ -1564,7 +1564,7 @@ sub _incr_parse { $self->{incr_text} = substr( $self->{incr_text}, $p ); $self->{incr_p} = 0; - return $obj or ''; + return $obj || ''; } -- 2.7.4