Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Implicit closing of files

by bloonix (Monk)
on Jun 17, 2008 at 11:56 UTC ( #692483=note: print w/replies, xml ) Need Help??


in reply to Implicit closing of files

Yes, Perl does it for you, but don't you want to know if something wents wrong? I think it's a better way to close it yourself if you have a chance and check if close() wents wrong.
close(HANDLE) or die $!;

Replies are listed 'Best First'.
Re^2: Implicit closing of files
by rovf (Priest) on Jun 17, 2008 at 12:15 UTC
    That's a good point indeed....
    -- 
    Ronald Fischer <ynnor@mm.st>

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2022-01-21 14:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (59 votes). Check out past polls.

    Notices?