my %hash2 = ( a => ++$m, b => ++$m, c => ++$m ); #### #This time you get three times the same value 0 HASH(0x30ef548) 'a' => 3 'b' => 3 'c' => 3