my %hash = %{$result->[0]}; # copy result to new hash ... print "Print city: $hash{'city'}\n";