seek FILEHANDLE,POSITION,WHENCE
Randomly positions the file pointer for FILEHANDLE, just like the fseek()
call of stdio. FILEHANDLE may be an expression whose value gives the name
of the filehandle. The values for WHENCE are 0 to set the file pointer to
POSITION, 1 to set the it to current plus POSITION, and 2 to set it to EOF
plus offset. You may use the values SEEK_SET, SEEK_CUR, and SEEK_END for
this is using the POSIX module. Returns 1 upon success, 0 otherwise.
|
|
|