in reply to Re: Display filenames in mbox folder
in thread Display filenames in mbox folder
The source of readMessageFilenames in Mail::Box::Dir is "sub readMessageFilenames() {shift->notImplemented}"
I just downloaded version 2.118 of Mail::Box and yes, "readMessageFilenames" is unimplemented.so $folder is likely one of its subclasses, Mail::Box::MH or Mail::Box::Maildir
Yes, in the same vers 2.118 I can see that Mail::Box::MH and Mail::Box::Maildir seem okay (implemented)
can you tell us which one? (try print ref $folder;)
The print displays Mail::Box::MaildirMore information would be useful. What is $filename - a single file, or a directory? What does "The number of files is not correct" mean? Most importantly, what files are in the folder you are looking at; i.e. what is your expected output? Also, Basic debugging checklist
$filename is a directory. The number of files should be 592. The script posted only parses through 591 files, and also displays 591 files. Other small perl scripts I have run state 592 files. I need to determine which file is being missed, and then determine the reason why.
I'm using the Perl debugger quite a lot with this. Thanks. :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Display filenames in mbox folder
by Anonymous Monk on Mar 01, 2015 at 01:58 UTC | |
by peterr (Scribe) on Mar 01, 2015 at 03:16 UTC | |
by choroba (Cardinal) on Mar 01, 2015 at 07:13 UTC | |
by peterr (Scribe) on Mar 01, 2015 at 08:23 UTC | |
by choroba (Cardinal) on Mar 01, 2015 at 09:04 UTC | |
|