Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Mime::parse file output

by SneakZa (Initiate)
on Jun 09, 2013 at 16:07 UTC ( #1037937=note: print w/ replies, xml ) Need Help??


in reply to Re: Mime::parse file output
in thread Mime::parse file output

thats not what im looking for.. i would like to know what that random directory is for later use,, cause there might be multiple sessions of this script running , so everytime it parses a message it creates /tmp/msg-*something and the parts are saved in there..


Comment on Re^2: Mime::parse file output
Re^3: Mime::parse file output
by frozenwithjoy (Curate) on Jun 09, 2013 at 17:55 UTC

    Do you need them to be filed in random subdirectories inside a specified directory (rather than everything directly in the specified directory)? If not, then what I said in the edit still stands.

    output_dir
    Causes messages to be filed directly into the given DIRECTORY. It does this by setting the underlying filer() to a new instance of MIME::Parser::FileInto, and passing the arguments into that class' new() method.
    output_under
    Causes messages to be filed directly into subdirectories of the given BASEDIR, one subdirectory per message. It does this by setting the underlying filer() to a new instance of MIME::Parser::FileUnder, and passing the arguments into that class' new() method.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1037937]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-07-03 18:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (55 votes), past polls