Copyright © tutorialspoint.com
Syntax
Definition and UsageSets the position within FILEHANDLE according to the values of POSITION and WHENCE. This function is the equivalent of the C function lseek( ), so you should avoid using it with buffered forms of FILEHANDLE. This includes the "FILEHANDLE" notation and print, write, seek, and tell. Using it with sysread or syswrite is OK, since they too ignore buffering. The position within the file is specified by POSITION, using the value of WHENCE as a reference point, as shown below in Table.
Return Value
|
Copyright © tutorialspoint.com