in reply to Re: Improve My Code...
in thread Improve My Code...

yes/no/maybe-so? What'd ya think?

Specifically, I don't like how I treat @data differently from the other fields. What is in @data? Maybe all of the $fields should be grabbed as arrays, with a subfield indicating the desired indices?