in reply to Moving from hashing to tie-ing.
Given the structure of what you've given, consider either stepping up to a real DBMS (Postgres, MySQL) or take a half step like SQLite. Then just use DBI.