in reply to interpolate variable in a hash?

Use eval:
my $interpolated = eval "$hash{key1}";
Update: Caveat -- I answered your question, but you really should give thought to other ways of accomplishing what you are trying to do. Things like eval of strings can get you into trouble if you don't really know what you are doing.