It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably an开发者_Python百科swered in its current for
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably an开发者_Python百科swered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Advantage of closing file handle in Perl is that "$." gets
reset
cleans up buffer
gives command status
none
Please tell me the correct answer with explanation (if possible)
Read this close FILEHANDLE perldoc .
You can also look into perlvar for $.
There was an identical question posted to PerlMonks. You might look there at some of the excellent answers that question received: Why do we need to close filehandles?
精彩评论