seekdir
See the current Perl documentation for seekdir.
Here is our local, out-dated (pre-5.6) version:
seekdir - reposition directory pointer
seekdir DIRHANDLE,POS
Sets the current position for the readdir() routine on DIRHANDLE. POS must be a value returned by telldir(). Has the same caveats about possible directory compaction as the corresponding system library routine.