in reply to Moving from hashing to tie-ing.

It's still not clear to me what the structure of your data file (or maybe files - even that's not clear) is. But it seems that the main issue is that you have data associated with keys (pins) and that a lookup needs to be done using the keys. Can you parse your data file(s) to find the pins and generate a lookup hash keyed by pin and storing an index (and possibly file name) to the data associated with the pin? You can use Storable to write out a copy of the hash which can then be used as required.

If that is way off the mark, please describe the actual structure of the data and how it needs to be accessed. So far this is a very XY Problemish thread!


DWIM is Perl's answer to Gödel