Make sure .perl work correctly for typed hashes