From: Tom Phoenix Date: Tue, 23 Jun 1998 08:51:00 +0000 (-0700) Subject: documenting close without arguments X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6a518fbc8aa927fbef3f9c74478f46ca5dfe8af0;p=p5sagit%2Fp5-mst-13.2.git documenting close without arguments Message-ID: p4raw-id: //depot/perl@1227 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index bfb1c30..909fa80 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -563,9 +563,12 @@ omitted, does a chroot to $_. =item close FILEHANDLE +=item close + Closes the file or pipe associated with the file handle, returning TRUE only if stdio successfully flushes buffers and closes the system file -descriptor. +descriptor. Closes the currently selected filehandle if the argument +is omitted. You don't have to close FILEHANDLE if you are immediately going to do another open() on it, because open() will close it for you. (See