Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Mail::Box woes

by InfiniteLoop (Hermit)
on Mar 30, 2006 at 20:51 UTC ( #540273=note: print w/replies, xml ) Need Help??


in reply to Re: Mail::Box woes
in thread Mail::Box woes

The error is thrown immediately after I do the following:
.... #open the mail folder, in rw mode my $folder = Mail::Box::Maildir->new( folder => $args{maildir}, access => 'rw', remove_when_empty => 0 ) or croak "Cannot open Maildir " . $args{maildir} . ": $!"; #run thru all messages foreach my $id ( $folder->messageIds ) { my $message = $folder->messageId($id); next if $message->isDeleted; ....
The call to $folder->messageId($id) die's with the error.

Actually, earlier I had posted the same message on the Mail::Box's mailing list, hence the reference to the line number of the code base

I will take your advice and upgrade to the latest stable build. Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://540273]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2023-12-10 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?