Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: tellChapter 5
Function Reference
Next: Reference: tie


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.

Previous: Reference: tellPerl in a NutshellNext: Reference: tie
Reference: tellBook IndexReference: tie