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

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