| Statement | Function |
| binmode(HANDLE) | Arranges for the file opened in HANDLE to be read in binary mode. |
| close(HANDLE) | Closes the filehandle HANDLE. |
| eof({HANDLE}) | Returns 1 if the next read operation on HANDLE will return "end of file"
or if HANDLE is not open. If HANDLE isn't specified, uses the
pseudo-file formed of files listed on the command line. |
| fcntl(HANDLE,
function, scalar) | Calls the fcntl() function of NetWare. |
| fileno(HANDLE) | Returns the file descriptor for the specified HANDLE. |
| getc(HANDLE) | Returns the next character from the input file associated with the
specified HANDLE. |
| ioctl(HANDLE,
function, scalar) | Calls the ioctl() function of NetWare. |
| open(HANDLE,
filename) | Opens HANDLE to the file named filename. |
| print(list) | Outputs the scalar values in list to standard output. |
| printf(formatstring,
list) | Outputs the scalar values in list to standard output, using the format
specification contained in formatstring. |
| read(HANDLE, $buf, n) | Reads n bytes of data from HANDLE into the scalar variable $buf. |
| seek(HANDLE, inloc) | Moves to the position inloc in HANDLE. |
| select(HANDLE) | Changes the currently selected filehandle to HANDLE. |
| sprintf(list) | What would have been output by printf() returns as a string. |
| sysread(HANDLE,
scalar, len
{,offset}) | Attempts to read len bytes of data into scalar from the file
associated with the specified HANDLE. If offset is specified, it
indicates the point in the file at which the read operation will start. |
| syswrite(HANDLE,
scalar, len
{,offset}) | Attempts to write len bytes of data from scalar to the file
associated with the specified HANDLE. If offset is specified, it
indicates the point in the file at which the write operation will start. |
| tell(HANDLE) | Returns the current file position (in bytes) of the file associated with
the specified HANDLE. |
| write(HANDLE) | Generates text for HANDLE using the current format for the filehandle. |