Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Perl Programming/Keywords/close

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Perl chroot closedir Keywords The close keyword The function close closes the file or pipe associated with FILEHANDLE, flushes the I/O buffers, and closes the system file descriptor. Returns true, if all operations succeed and if no error was reported by any PerlIO layer. Closes the currently selected FILEHANDLE, if the argument is omitted. As an open will close the FILEHANDLE, it is not necessary to close the FILEHANDLE in this case, although an explicit close on an input file resets the file counter ($.). Syntax close FILEHANDLE close Examples use open IN => ":crlf", OUT => ":bytes"; […] use open IO => ":encoding(iso-8859-7)"; See also open Perl chroot closedir Keywords