From 2b7e195218504cf0d7b983a7bad26797524d5b81 Mon Sep 17 00:00:00 2001 From: Nigel Horne Date: Fri, 25 Aug 2023 20:22:23 -0400 Subject: [PATCH] Set "geocoder" to "cached" when the values have been retrieved from the L2 cache --- Changes | 3 +++ lib/Geo/Coder/List.pm | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 9ab9cec..af6ed0a 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Geo-Coder-List +0.32 + Set "geocoder" to "cached" when the values have been retrieved from the L2 cache + 0.31 Thu Jun 29 09:23:17 EDT 2023 Change the croaks to carps Fix test when Geo::Coder::Free is not installed diff --git a/lib/Geo/Coder/List.pm b/lib/Geo/Coder/List.pm index 5ceba21..54da24e 100644 --- a/lib/Geo/Coder/List.pm +++ b/lib/Geo/Coder/List.pm @@ -167,7 +167,8 @@ sub geocode { line => $call_details[2], location => $location, timetaken => 0, - wantarray => wantarray, + gecoder => 'cached', + wantarray => 0, result => $rc }; CORE::push @{$self->{'log'}}, $log; @@ -195,6 +196,7 @@ sub geocode { line => $call_details[2], location => $location, timetaken => 0, + gecoder => 'cached', wantarray => wantarray, result => \@rc };