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

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

DIRHANDLE may be an expression whose value can be used as an indirect dirhandle, usually the real dirhandle name.