< Perl Programming < Keywords

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

chdirclosedirmkdiropendirreaddirrewinddirrmdirseekdirtelldir
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.