in reply to Moving from hashing to tie-ing.

A idea nobody has yet suggested—maybe because it's completely wrong.

If your big file is static and contains 100 different fields referring to pin as a key, you can replace it with 100 DBM files, every file containing only pin-field pairs.

Then you can create a big hash containing references to DBM-tied hashes, and get a value for a certain field like $name = $fields{name}{$pin}. As you know which fields you need, you can load only corresponding DBM files.


     s;;Just-me-not-h-Ni-m-P-Ni-lm-I-ar-O-Ni;;tr?IerONim-?HAcker ?d;print