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

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