tag 547713 + confirmed pending
thanks
On Mon, Sep 21, 2009 at 08:34:18PM +0200, Arnaud Giersch wrote:
> The expunge() method in Mail::IMAPClient, does not work when used
> without argument. I noticed it by playing with imapsync.
>
> Acoording to the documentation :
>
> The expunge method accepts one optional argument, a folder name. It
> expunges the folder specified as the argument, or the currently
> selected folder if no argument is supplied.
>
> If I understand correctly, in this method, the line :
>
> if ( defined $folder && $folder eq $old ) {
>
> should be changed in :
>
> if ( !defined $folder || $folder eq $old ) {You are right. It is fixed upstream, also improving documentation. Bests Salvatore
signature.asc
Description: Digital signature

