Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: mjj [...] frogdream.com
Cc:
AdminCc:

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



Date: Tue, 11 Oct 2005 19:41:21 +1000
To: bug-Mail-IMAPClient [...] rt.cpan.org
Subject: Unitialiased data in Mail::IMAPClient
From: mjj [...] frogdream.com (Matt Jackson)
David, I've been using your perl module Mail::IMAPClient for a while and it's been useful. However, I've always been getting a message about unitialised data on line 2543. My script turns on use strict and -w so shows the problem. It looks like when expunge is called with folders IMAPClient is keeping the last folder name used. However, the first time there is no old name to compare against so the warning is issued. I've put a little check in to avoid the test if the current folder is undefined and the warning disappears. I've attached against v2.2.9. Cheers, -- Matt Jackson | "The world is a book, and those who mjj@frogdream.com | don't travel read only one page." http://www.frogdream.com | - St Augustine

Message body is not shown because sender requested not to inline it.

New maintainer. The simplest solution is to check that $old is set: $self->select($old) if $old will be included in 2.99_02 (which requires testers)