in reply to Re^2: Associative array
in thread Associative array

This doesn't print the keys and values, but the values associated with the keys key and value.

If you want to print the hash out for debugging purposes, use Data::Dumper.

If you want to access the keys/values in your program, use keys %{$data_pair} or values %{$data_pair} instead.