Thanks to visit codestin.com
Credit goes to perldoc.perl.org

You are viewing the version of this documentation from Perl 5.28.0. View the latest version
closedir DIRHANDLE

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