Files
- die, warn, exit
- while loop
- Loop controls: next, last
- Opening file for reading
- Opening a file
- Opening a file - error handling
- Opening a missing file
- Read one line from a file
- Process an entire file line by line (while, cat)
- Write to a file
- Sum of numbers in a file
- Analyze the Apache log file
- Encoding and UTF-8
- Open files in the old way
- Binary mode
- Reading from file, read, eof
- tell, seek
- truncate
- Exercise: Add more statistics
- Exercise: Write report to file
- Exercise: Analyze Apache - number of successful hits
- Solution: Add more statistics
- Solution: Write report to file
- Solution: Analyze Apache - number of successful hits