Tie::File will work great if you have a record separator, and the code should be no more complex than searching an array of strings.
The amount of memory you want to use is just a parameter to Tie::File. Gaal- can you elaborate on the data requirements you think will effect him? Do you mean: key distribution uniform - important for the binary search record sizes roughly same size - to help Tie::File find separators Ran _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl
