in reply to Problem with MIME::Parser and filenames
$parser->decode_headers(1);I'm not sure if relevant, but from a quick look at the docs for MIME::Parser it says you should not use decode_headers() unless you really know what you are doing. Have you tried commenting out that line?
In Section
Seekers of Perl Wisdom