Skip Menu |

This queue is for tickets about the Mail-IMAPClient CPAN distribution.

Report information
The Basics
Id: 30649
Status: resolved
Priority: 0/
Queue: Mail-IMAPClient

People
Owner: Nobody in particular
Requestors: richter [...] ecos.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: $imap -> folders fails with empty argument
Date: Sun, 11 Nov 2007 15:23:30 +0100
To: bug-Mail-IMAPClient [...] rt.cpan.org
From: "Gerald Richter - ECOS GmbH" <richter [...] ecos.de>
Hi, The following code fails in 2.99_04: my $imap = Mail::IMAPClient->new( Server => $host, User => $user, Password=> $pass, ) or die "Cannot connect to $host as $user: $@"; $imap -> select ('INBOX') or die "Cannot select $@" ; my @folders = $imap->folders or die "Could not list folders: $@\n"; Changeing in IMAPClient.pm line 1516 from "or" to "and" fixes the problem. Gerald ------------------------------------------------------------------------ Gerald Richter ECOS electronic communication services GmbH ******************* SECURING YOUR NETWORK ******************** Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: richter@ecos.de Voice: +49 6133 939-122 WWW: http://www.ecos.de Fax: +49 6133 939-333 Sitz der Gesellschaft: Dienheim; AG Mainz HRB 6889 Geschäftsführer: Wolfgang Heck, Gerald Richter ------------------------------------------------------------------------ ** Virus checked by BB-5000 Mailfilter **
Your right. A mistake during the code rewrite. Thanks Gerald. 2.99_05 will be out tonight.