Subject: | Missing "use Carp;", for package Net::IMAP::Multipart |
Date: | Wed, 15 Aug 2012 11:57:17 +1000 |
To: | bug-NetxAP [...] rt.cpan.org |
From: | Brock Henry <brock.henry [...] gmail.com> |
The subpackage Net::IMAP::Multipart, uses carp(), but has no "use carp;".
The carp therefore fails.
It only reaches the carp in some conditions, so probably doesn't get
noticed. We've been using it for 10 years, and only noticed now because we
changed to Dovecot, which returns different IMAP output, which makes the
code take a slightly different path.
We're on RHEL6.2.
Fix: Add the following to line 2835
use Carp;
-- Brock