Subject: | Difference in _unescape behaviour between 1.16 and 1.1900 |
Date: | Sun, 14 Mar 2010 10:01:55 +0000 |
To: | bug-Net-IMAP-Simple [...] rt.cpan.org |
From: | Aaron Wilson <aaron [...] gmx.co.uk> |
Hi,
Firstly, thanks for a great and useful perl library.
I currently use this as the basis for a biff like application, and
have recently upgraded my OS [0], going from version 1.16 to 1.1900.
In the process of this my biff application seems to have
broken. This seems to be related to the behaviour of the
mailboxes command which seems to have changed between the two
versions; in version 1.16, the following code:
my @mailboxes = $imap->mailboxes();
foreach my $mbx ( @mailboxes ) {
print "$mbx\n";
}
produced the list:
INBOX
Spam
<snip>
while in the newer version the same code gives the output:
"INBOX"
"Spam"
<snip>
Looking into this, the difference seems to be due to the fact the
the _unescape function has changed between the two versions for reasons
that I can't see by a quick inspection of the changelog and looking at
the code, the unescape function seems to be called in a similar
context in both versions.
I attach a simple test script to demonstrate this.
Please could you revert to the earlier version of _unescape or explain
the reason for this change (which my small brain might be missing) ?
Many thanks for any help,
aaron
[0] Debian Etch to Debian Squeeze, out of interest.
Message body is not shown because sender requested not to inline it.