You are viewing the version of this documentation from Perl blead. This is the main development branch of Perl. (git commit 04ac2edde8bd88a72f6d3ebbd973529d194ccf5d)
telldir DIRHANDLE

Returns the current position of the readdir routines on DIRHANDLE. Value may be given to seekdir to access a particular location in a directory. telldir has the same caveats about possible directory compaction as the corresponding system library routine.