< 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
chdirclosedirmkdiropendirreaddirrewinddirrmdirseekdirtelldir
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.