ext_74568 ([identity profile] auralarua.livejournal.com) wrote in [personal profile] sabotabby 2007-02-02 10:27 pm (UTC)

at work also

The value of whence specifies which of three file positions your offset is relative to: 0, the beginning of the file; 1, the current position in the file; or 2, the end of the file. offset may be negative for a whence of 1 or 2.

seekdir

seekdir dirhandle, pos
Set the current position for the readdir routine on dirhandle. pos must be a value returned by telldir. This function has the same caveats about possible directory compaction as the corresponding system library routine.

from perl in a nutshell

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting