in reply to mime::parser change attachment name
The right way to do this is to write your own subclass of MIME::Parser::Filer and create a custom output_path function.
An easier way might be to create a subdirectory for each email message, named, say, $i, and then use output_dir, like this
mkdir($i); $parser->output_dir($i);
before parsing the $i'th email message
|
---|
In Section
Seekers of Perl Wisdom