Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

RE: Re: dealing with attachments (again)

by Punto (Scribe)
on May 26, 2000 at 07:01 UTC ( [id://14930]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: dealing with attachments (again)
in thread dealing with attachments (again)

Hi..

1 question about the code: what happends if the file alredy exists on the temp. directory? it looks like the mime::parser object is creating the file.. how do I get the object not to overwrite the existing file?

Thanks..

  • Comment on RE: Re: dealing with attachments (again)

Replies are listed 'Best First'.
RE: RE: Re: dealing with attachments (again)
by httptech (Chaplain) on May 26, 2000 at 13:41 UTC
    Yes, it does overwrite existing files. You could probably change this behavior by writing a subclass for Mime::Parser to override some of the built-in functions it uses where the filename is determined, but that's beyond the scope of a snippet I think.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://14930]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.