develooper Front page | perl.beginners | Postings from April 2010

Closing File Handles

Thread Next
From:
Joseph L. Casale
Date:
April 30, 2010 09:30
Subject:
Closing File Handles
Message ID:
CA5A491E9DEFBE4CB777DE97E21575E99EA345@prato.activenetwerx.local
Is it required to manually close a file handle I used
to write debugging info to when the Perl scripts exits?

Seems like a waste of effort at the end of the script to
test `if debug...` and close the fh after?


Thanks!
jlc

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About