in reply to file attatchment name

In MIME::Parser::Filer::exorcise_filename, the module tries to make the filename safe. It doesn't like the square brackets, so it ends up getting rid of everything up to them. If you really wanted those filenames, you'd have to subclass the module, or perhaps save the files to core then write them to disk yourself.

--
brian d foy <brian@stonehenge.com>
Subscribe to The Perl Review

Replies are listed 'Best First'.
Re^2: file attatchment name
by bobdole (Beadle) on Feb 20, 2006 at 15:58 UTC
    when you say subclass the module, could you give me an example on how to do that or point me in the right direction of a tutorial?