http://www.perlmonks.org?node_id=15846


in reply to RE: MIME Attachment Extractor
in thread MIME Attachment Extractor

Yes, the bodies are always saved with the prefix "msg-" (unless you override it). So you can just unlink anything that starts with that prefix to clean out the message bodies.

Replies are listed 'Best First'.
RE: RE: RE: MIME Attachment Extractor
by Punto (Scribe) on Jun 01, 2000 at 20:55 UTC
    What if while I'm deleting, another program is creating a file, and it's not done with it yet? The module Mime::Parse may lock the file, but then the sub open the file..