Update perl-hash.tt

Moved explanations outside the code block.