Jump to content

Perl Programming/Keywords/rewinddir

From Wikibooks, open books for an open world
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Previous: reverse Keywords Next: rindex

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
Previous: reverse Keywords Next: rindex