Skip Menu |

This queue is for tickets about the POE-Component-IRC CPAN distribution.

Report information
The Basics
Id: 67465
Status: resolved
Priority: 0/
Queue: POE-Component-IRC

People
Owner: Nobody in particular
Requestors: peder [...] ifi.uio.no
Cc:
AdminCc:

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



Subject: Fatal warning in POE::Component::IRC::Compat
Date: Thu, 14 Apr 2011 17:25:51 +0200 (CEST)
To: bug-POE-Component-IRC [...] rt.cpan.org
From: Peder Stray <peder [...] ifi.uio.no>
Use of uninitialized value in length at .../POE/Filter/IRC/Compat.pm line 40. And 54. Since the module die on warnings, and $line->{prefix} sometimes is undefined, i guess it would be better to use defined instead of length. -- Peder Stray
Ah. I missed this because length(undef) doesn't emit a warning on Perl 5.12 and later. I have fixed it and added a test for it.