Skip Menu |

This queue is for tickets about the iCal-Parser-SAX CPAN distribution.

Report information
The Basics
Id: 105135
Status: new
Priority: 0/
Queue: iCal-Parser-SAX

People
Owner: Nobody in particular
Requestors: dam [...] cpan.org
Cc:
AdminCc:

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



From: dam [...] cpan.org
Subject: [PATCH] possible precedence problem warning with perl 5.20
In Debian we are currently applying the following patch to iCal-Parser-SAX. We thought you might be interested in it too. Description: possible precedence problem warning with perl 5.20 From perl5200delta: · Possible precedence issue with control flow operator (W syntax) There is a possible problem with the mixing of a control flow operator (e.g. "return") and a low-precedence operator like "or". Consider: sub { return $a or $b; } This is parsed as: sub { (return $a) or $b; } Which is effectively just: sub { return $a; } The patch is tracked in our Git repository at https://anonscm.debian.org/cgit/pkg-perl/packages/libical-parser-sax-perl.git/plain/debian/patches/precedence.patch Thanks for considering, Damyan Ivanov, Debian Perl Group
Here's the patch.

Message body is not shown because sender requested not to inline it.