Perl Programming/Keywords/closedir

Previous: close Keywords Next: cmp

The closedir keyword

edit

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

Syntax

edit
  closedir DIRHANDLE

Examples

edit
closedir DataDir\abcweb
chdir closedir mkdir opendir readdir rewinddir rmdir seekdir telldir
Previous: close Keywords Next: cmp