The I/O chapter in
Perl Best Practices
by
Damian
Conway has some very good advice on how to cope with input and
output in Perl, such as:
- Don't use bareword filehandles
- Use three-argument open
- Never open, close or print to a file without checking the outcome
Andreas
--