PLEAC-Smalltalk
Prev
Next
7. File Access
Introduction
Opening a File
Opening Files with Unusual Filenames
Expanding Tildes in Filenames
Making Perl Report Filenames in Errors
Creating Temporary Files
Storing Files Inside Your Program Text
Writing a Filter
Modifying a File in Place with Temporary File
Modifying a File in Place with -i Switch
Modifying a File in Place Without a Temporary File
Locking a File
Flushing Output
Reading from Many Filehandles Without Blocking
Doing Non-Blocking I/O
Determining the Number of Bytes to Read
Storing Filehandles in Variables
Caching Open Output Filehandles
Printing to Many Filehandles Simultaneously
Opening and Closing File Descriptors by Number
Copying Filehandles
Program: netlock
Program: lockarea
Prev
Home
Next
Pattern Matching
File Contents