Perl Programming/Keywords/rewinddir

The rewinddir keyword

The rewinddir command sets the current position to the beginning of the directory for the readdir routine on DIRHANDLE.

Syntax

  rewinddir DIRHANDLE

Examples

rewinddir $handle

See also

chdir closedir mkdir opendir readdir rewinddir rmdir seekdir telldir