Closing File Handles

2010-04-30 Thread Joseph L. Casale
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 -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional

Re: Closing File Handles

2010-04-30 Thread Harry Putnam
"Joseph L. Casale" writes: > 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? Not required no... that is, it won't cause an err

Re: Closing File Handles

2010-04-30 Thread Shawn H Corey
Harry Putnam wrote: "Joseph L. Casale" writes: 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? Not required no... that is, it won

Re: Closing File Handles

2010-05-11 Thread Whacky™
On Apr 30, 9:30 pm, jcas...@activenetwerx.com ("Joseph L. Casale") wrote: > 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? > > T