in reply to hash to sub

Thank you very much for your help!