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

Re: Temporary file management in Perl -- is it possible?

by pvaldes (Chaplain)
on Apr 24, 2013 at 21:08 UTC ( #1030530=note: print w/ replies, xml ) Need Help??


in reply to Temporary file management in Perl -- is it possible?

I'm trying to discover if I can give a temporary file a "Life Span"

Yes, in pseudocode:

open file line (creates the file). Do something and close the file

sleep for 10 minutes and unlink the file

see also File::Temp.


Comment on Re: Temporary file management in Perl -- is it possible?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-10-31 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (216 votes), past polls