Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Implicit closing of files

by bloonix (Monk)
on Jun 17, 2008 at 11:56 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-25 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found