Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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: (10)
As of 2015-07-02 10:09 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 (33 votes), past polls