This is some great insight. I especially gleaned a lot of wisdom from these bits:
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?
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.)
- not using "" around the variable in open
- operator precedence in the open statement
- using STDIN and STDOUT instead of named filehandles