in reply to Re: Mime::Parser - File Naming Conventionin thread Mime::Parser - File Naming Convention
It does when there is an attachment. if there's no attachment a text file is produces seemingly out of the entity parts loop.
It's not that I don't believe you, but
You test if filename contains document_
When filename doesn't contain document_, your programs skip the filename
What did you expect to happen?