Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2016-12-06 18:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (113 votes). Check out past polls.