Name
telldir
Synopsis
telldir dirhandle
Returns the current position of the readdir
routines on a directory handle
(dirhandle
). This value may be given to
seekdir
to access a particular
location in a directory. The function has the same caveats about
possible directory compaction as the corresponding system library
routine. This function may not be implemented everywhere that
readdir
is. Even if it is, no
calculation may be done with the return value. It’s just an opaque
value, meaningful only to seekdir
.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.