Input/Output
The Open Function
- The open() function opens a new file handle
- File handles can be opened for reading or writting
- The syntax of the open() function is
$err = open( FILEHANDLENAME, EXPR );
- Where
- FILEHANDLENAME is the name you wish to use for the filehandle
- EXPR is the filename you wish to open
- But, how do you specify that a file handle opened for reading VS writing...