in reply to Re^2: reading a delimited file and selecting values from it
in thread reading a delimited file and selecting values from it

The pattern I used already does that, as written. The pattern matches everything you want, up to the extraneous data, and that's where it stops.

The problem with it (if you consider this a problem) is that the loop doesn't notice if there's a non-match. If you have some bogus line in the file, it's going to try to use it anyway. This will probably manifest as an undef quote at midnight. That's part of why I said it's a start.

  • Comment on Re^3: reading a delimited file and selecting values from it