use feature 'superfast_hashes'; my %hash_with_implementation_A = ( foo => 'bar' ); no feature 'superfast_hashes'; my %hash_with_implementation_B = %hash_with_implementation_A;