You are viewing the version of this documentation from Perl 5.32.0-RC0. This is a development release of Perl.
closedir DIRHANDLE

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