perl-5.38.0
closedir DIRHANDLE

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

opendir でオープンしたディレクトリをクローズし、 システムコールの返り値を返します。