Perl Programming/Keywords/rewinddir

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Previous: reverse Keywords Next: rindex

The rewinddir keyword[edit | edit source]

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

Syntax[edit | edit source]

  rewinddir DIRHANDLE

Examples[edit | edit source]

rewinddir $handle

See also[edit | edit source]

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