Subject: | expunge responses not working |
Hi,
the Msgnum method of Net::IMAP::Expunge is broken, and it always returns
undef.
I'm attaching a patch for this.
The bug and the patch were originally reported as Debian bug #366029,
http://bugs.debian.org/366029 , by Torsten Hilbrich.
Cheers,
--
Niko Tyni
ntyni@iki.fi
Subject: | expunge.patch |
--- Net/IMAP.pm 2006/05/13 18:25:33 1.1
+++ Net/IMAP.pm 2006/05/13 18:32:44
@@ -1853,7 +1853,7 @@
return $self;
}
-sub msgnum { $_->{Msgnum} }
+sub msgnum { $_[0]->{Msgnum} }
###############################################################################