in reply to Saving a hash/array to a file

> the slowest part of the operation is reading it in (yes, I've profiled it).

What do you mean with reading it in?

How big is your hash?

How long does it take to evaluate the literal code of the hash?

How many percent of the hash do you need to access in one run of your script?

What is "slow" in your eyes?

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)