Listing imap folders doesn't work due to incorrect invocation of split.
Patch is attached.
Subject: | Mail-Box-2.082-imap-folders.patch |
--- lib/Mail/Transport/IMAP4.pm.orig 2008-06-04 21:49:30.000000000 -0400
+++ lib/Mail/Transport/IMAP4.pm 2008-06-04 21:49:36.000000000 -0400
@@ -275,7 +275,7 @@
# There may be multiples thanks to subdirs so we uniq it
my %uniq;
- $uniq{(split($sep, $_))[$level]||''}++ foreach @folders;
+ $uniq{(split(/\Q$sep\E/, $_))[$level]||''}++ foreach @folders;
delete $uniq{''};
keys %uniq;