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

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