in reply to
Re: Cleaner way of looping through a file and stripping only certain lines?
in thread Cleaner way of looping through a file and stripping only certain lines?
This is some great insight. I especially gleaned a lot of wisdom from these bits:
- not using "" around the variable in open
- operator precedence in the open statement
- using STDIN and STDOUT instead of named filehandles
Thank you very much for your excellent insight. Hopefully someone else can also learn from this post (that's why I post things like this.)