|Perl: the Markov chain saw|
Re: Re: Cannot read in multiple linesby tachyon (Chancellor)
|on Nov 04, 2002 at 10:19 UTC||Need Help??|
We don't need the close - the filehandle will automatically be closed when it falls out of scope.
Actually that is wrong. FILE globs are not locally scoped.
If you really feel that not explicitly closing your filehandles is good programming practice and want to depend on Perl doing it for you you need to use
From memory this is only valid for Perl 5.6+