So now I have only parts of the csv file in memory? So if I searched to foo I would only then have the lines that have foo in then in my array? What about editing? In my older even worse write of this (kept track of a mailing list) I would edit the item based on line number. I guess I could put the line number into my hash in the array though. I guess I am not really seeing how this cleans it up much. I might try it though, I will think about it some more. I have just been changing it about so that all the url options go into %options. That is helping a bit. I have also tried to get rid of some of the global vars that are not used anymore. Then I put my page_list and page_search right into the "if ($options{search}){" and else. I put head foot and outside of the if statement. Its helping a little. Also what is "AoH"?
Thanks!