Perl Programming/Keywords/rewinddir

Previous: reverse Keywords Next: rindex

The rewinddir keyword

edit

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

Syntax

edit
  rewinddir DIRHANDLE

Examples

edit
rewinddir $handle

See also

edit
chdir closedir mkdir opendir readdir rewinddir rmdir seekdir telldir
Previous: reverse Keywords Next: rindex