Perl Programming/Keywords/closedir

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