Update perl-hash.tt

I have removed the tabs and replaced it with spaces. I have also added comments for the code.
Merge pull request #241 from shajiindia/patch-2

Update perl-hash.tt