in reply to Very large text file - simple indexing
BerkeleyDB is even nicer once you move into non-trivial amounts of data (I call that hundreds of megs). If you need an ordered database see BerkeleyDB::Hash.