Subject: | Use of uninitialized value |
Date: | Wed, 27 Oct 2010 15:19:23 +0100 |
To: | <bug-Net-IMAP-Simple [...] rt.cpan.org> |
From: | Marcos Marado <marcos.marado [...] optimus.pt> |
Hi there,
Two similar servers with similar setup, one of them is fine and the other is
not. The only visible difference: Net::IMAP::Simple 's version.
With 1.14 I don't have any problem, while in 1.2017 I have an error.log full
of:
Use of uninitialized value in length
at /usr/lib/perl5/site_perl/5.8.8/Net/IMAP/Simple.pm line 1050, <GEN206> line
160.
I am still not sure (only applied this change *now*), but I'm guessing that
reverting this patch is enough to solve this issue (even if you get back with
not being able to deal with misbehaving servers):
http://github.com/jettero/net--imap--simple/commit/44f616ee3b89483fbdcacd65d98b84ee1f950d79
--
Marcos Marado
Optimus IT - www.optimus.pt
Edifício Sonaecom
Av. D. João II - Lote 1.06.2.4, 1990-095 Lisboa, Portugal