Skip Menu |
 

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)

Attachments


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 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


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.