sysopensysopen filehandle , filename , mode , [ perms ]
Opens the file given by
filename
and
associates it
with
filehandle
.
This function calls The possible values and flag bits of the mode parameter are system-dependent; they are available via the Fcntl library module. However, for historical reasons, some values are universal: zero means read-only, one means write-only, and two means read/write.
If the file named by
filename
does not exist, and
The FileHandle module provides a more
object-oriented approach to Copyright © 2001 O'Reilly & Associates. All rights reserved. |
|