in reply to question about if/pattern matching statement

How do you know it's going through the file multiple times? Have you created a test file with predictable values?

Also, I'd seriously look at using Text::xSV instead of your method. For one, it's easier to understand. Two, the bugs are going to be in the logic and not in the parsing.


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re: question about if/pattern matching statement