The documentation for "readMessageFilename" is at Mail::Box::Dir
The source of readMessageFilenames in Mail::Box::Dir is "sub readMessageFilenames() {shift->notImplemented}", so $folder is likely one of its subclasses, Mail::Box::MH or Mail::Box::Maildir, can you tell us which one? (try print ref $folder;)
More 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 and How do I post a question effectively?
In reply to Re: Display filenames in mbox folder
by Anonymous Monk
in thread Display filenames in mbox folder
by peterr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |