Perl programming on MPE/iX - February 2001
February 9, 2001
Solution Symposium
Page 15
hp e3000
perl
programming
i/o and file handles
• open files are identified via file handles
• uppercase handle names by convention
• predefined file handles: STDIN, STDOUT, STDERR
• <FILEHANDLE> in a scalar context reads the next record
from the file
• <FILEHANDLE> in a list context reads ALL of the
remaining records from the file