Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DOCSIS-ConfigFile CPAN distribution.

Report information
The Basics
Id: 87301
Status: resolved
Priority: 0/
Queue: DOCSIS-ConfigFile

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: DOCSIS-ConfigFile-0.63-returnor.patch
diff -bu ./lib/DOCSIS/ConfigFile/Decode.pm~ ./lib/DOCSIS/ConfigFile/Decode.pm --- ./lib/DOCSIS/ConfigFile/Decode.pm~ 2011-10-03 14:54:16.000000000 -0500 +++ ./lib/DOCSIS/ConfigFile/Decode.pm 2013-07-25 08:21:47.953927842 -0500 @@ -306,7 +306,7 @@ =cut sub ip { - return inet_ntoa($_[0]) or confess 'inet_ntoa(...) failed to unpack binary string'; + return inet_ntoa($_[0]) || confess 'inet_ntoa(...) failed to unpack binary string'; } =head2 ether