When I print $data_pair->{'key'} gives me all the keys present in the array
When I print $data_pair->{'values'} gives me all the values for the keys
I want to check if $data_pair->{'key'} is equal to "correct" and store the value of $data_pair->{'value'} to $cor.
I want to check if $data_pair->{'key'} is equal to "date" and store the value of $data_pair->{'value'} to $date.