Update perl-hash.tt

I have added an example for hash slice. Please cross check from your end too.