Perhaps have a look at DBM::Deep? It's pure Perl, well suited to large lookup tables and, according to the docs, "pretty fast".
The docs also discuss speed/memory issues which you may find suit your requirements.
In reply to Re: Searching text files
by wfsp
in thread Searching text files
by SteveS832001
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |