diff options
author | Mark Wells <mark@freeside.biz> | 2015-04-06 17:30:18 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-04-06 17:30:18 -0700 |
commit | 555a568aa63059d5801b3b1343a2480066d696ca (patch) | |
tree | 1b790aa07c0147ffe67cfb21db64b47cc51dc6fa /Geocoding.pm | |
parent | 9b4059c3f2d0e14bc39f4b2ab2394a5e2e2e92e7 (diff) |
Report match level on failed matches
Diffstat (limited to 'Geocoding.pm')
-rw-r--r-- | Geocoding.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Geocoding.pm b/Geocoding.pm index 36828fa..405ff18 100644 --- a/Geocoding.pm +++ b/Geocoding.pm @@ -137,6 +137,7 @@ sub query { $result->block($fields[11]); } else { $result->is_match(0); + $result->match_level($fields[2]); # "No_Match", "Tie" } } else { $result->error_message( $resp->status_line ); |