Perl 5 version 12.0 documentation closedir Perl functions A-Z | Perl functions by category | The 'perlfunc' manpage closedir DIRHANDLE Closes a directory opened by opendir and returns the success of that system call.