This shouldn't be too difficult in perl. You could create a hash with that identifier as the hash keys and the data as the values associated with the keys and then do a split. Loading 1.3 million lines like that from a flat text file would probably blow, though, especially if you had to do it over and over again. Since it's static, why dont you convert it into some sort of binary database file? SQLite would probably work really well here and would simplify the code to a series of SQL queries.







