Programming Perl

Programming PerlSearch this book
Previous: 3.2.169 tellChapter 3
Functions
Next: 3.2.171 tie
 

3.2.170 telldir

telldir DIRHANDLE

This function returns the current position of the readdir routines on 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: 3.2.169 tellProgramming PerlNext: 3.2.171 tie
3.2.169 tellBook Index3.2.171 tie