in reply to read hash table from a subroutine or retrieve previously stored hash table from a file
I can't be bothered to read your node because you couldn't be bothered to format it nicely, but in answer to your title: use YAML.