Skip Menu |

This queue is for tickets about the Log-Syslog-Fast CPAN distribution.

Report information
The Basics
Id: 75469
Status: resolved
Priority: 0/
Queue: Log-Syslog-Fast

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

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



Subject: $port not truly ignored when using LOG_UNIX
use strict; use warnings; use Log::Syslog::Fast ":all"; Log::Syslog::Fast->new( LOG_UNIX, "/dev/log", undef, LOG_USER, LOG_INFO, "foo", "bar" );' Gives warning about $port param: "Use of uninitialized value in subroutine entry at -e line 1." Documentation says that $port param is ignored for LOG_UNIX so type checking should not take place.
The warning is generated by perl since it's a direct call to an xsub, so this isn't really fixable without adding a useless perl-side shim. Documentation is updated in 0.59 to clarify that value is unused but should be defined.