in reply to Re^3: Using a lookup table(?)
in thread Using a lookup table(?)

That comment refered to the intermediary step towards the optimization that used <$fh> in list context.

Tie::File does not load the entire file in memory (although it stores in memory the index of every line encountered in the file, unrelated and beyond any limit you have placed on its cache size).