You are viewing the version of this documentation from Perl blead. This is the main development branch of Perl. (git commit 36b6435791331adad1d6dac1ed261f27c21d8862)
closedir DIRHANDLE

Closes a directory opened by opendir and returns the success of that system call.