I'm in agreement with your approach
kwaping, thank you. Well, at least I learned a little bit about
tie through this whole debacle: don't use it on huge files; and I started reading the chapter.
When and if the rewrite takes place, I think putting the data back into a database is the way to go. Some advanced SQL statements would eliminate a great deal of the Perl coding. I'll see.
Thanks for your time.