Skip Menu |

This queue is for tickets about the Mail-IMAPClient CPAN distribution.

Report information
The Basics
Id: 57661
Status: resolved
Priority: 0/
Queue: Mail-IMAPClient

People
Owner: PLOBBES [...] cpan.org
Requestors: maxb [...] f2s.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.00
Fixed in: 3.25



Subject: "Use of uninitialized value" warning breaks use of IMAPClient->thread()
When I call IMAPClient->thread(), my program (using strict and warnings) exits due to the following warning: Use of uninitialized value $thread_parser in numeric eq (==) at /usr/share/perl5/Mail/IMAPClient.pm line 2700. The line in question is: return if $thread_parser == 0; Changing it to this fixes the bug: return if defined($thread_parser) and $thread_parser == 0;
Thank you for the bug report. This will be fixed in the next release (3.25).
Release 3.25 is out with a fix/workaround for this bug. Closing for now, but please let me know if you run into any problems!
On Mon May 31 15:24:26 2010, PLOBBES wrote: Show quoted text
> Release 3.25 is out with a fix/workaround for this bug.
Sorry... the change was a fix (not a workaround). Thanks again for reporting the bug!