You are viewing the version of this documentation from Perl blead. This is the main development branch of Perl. (git commit c4d03d9396e2ddfe9ecf6e64b31b163698811c1d)
rewinddir DIRHANDLE

Sets the current position to the beginning of the directory for the readdir routine on DIRHANDLE.

Portability issues: "rewinddir" in perlport.