http://qs1969.pair.com?node_id=431435


in reply to Frontier::Client mystery result string hash

Notice the square brackets around the curly ones. You have a reference to an array, not a reference to hash. The first (and only) element of the array is a reference to a hash, so:

print($result->[0]{'city'}, "\n");

or

foreach $record (@$result) { foreach $field (keys %$record) { printf("%s: %s\n", $field, $record->{$field}, ); } print("\n"); }