Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: tilly (4) scratching the surface of File::Temp (unlink w/o $filehandle ?)

by tilly (Archbishop)
on Feb 10, 2001 at 22:47 UTC ( #57643=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: (2) scratching the surface of File::Temp (unlink w/o $filehandle ?)
in thread (code) scratching the surface of File::Temp

You have the correct answer. And indeed it is addressed in the documentation. unlink0 performs checks that depend on having both the filename and the open filehandle, and if you do the close yourself it cannot verify that the close was safe.


Comment on Re: tilly (4) scratching the surface of File::Temp (unlink w/o $filehandle ?)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (14)
As of 2014-09-17 17:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (93 votes), past polls