Perl Programming/Keywords/rewinddir

The keyword
The  command sets the current position to the beginning of the directory for the   routine on.