Perl Programming/Keywords/closedir

< Perl Programming < Keywords

The closedir keyword

closedir closes a directory that has been opened with opendir. It returns true on success and false otherwise.

Syntax

  closedir DIRHANDLE

Examples

closedir DataDir\abcweb
chdir closedir mkdir opendir readdir rewinddir rmdir seekdir telldir
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.