CC: | Anders Nielsen <anielsen [...] jobindex.dk> |
Subject: | Geo::Coder::Google::V3 version 0.14_02 croaks on zero results |
Date: | Fri, 22 May 2015 10:55:53 +0200 |
To: | bug-Geo-Coder-Google [...] rt.cpan.org |
From: | "Klaus S. Madsen" <ksm [...] jobindex.dk> |
Hi,
The newest development release of Geo::Coder::Google croaks if the
address being looked up isn't found.
Since the function already has a reasonable way to report this
(returning either undef or the empty list), this is a bit of a suprise.
The attached patch prevents croaking on the the status ZERO_RESULTS.
--
Klaus S. Madsen, Udvikler, ksm@jobindex.dk
Jobindex A/S, Holger Danskes Vej 91, 2000 Frederiksberg
Tlf +45 38 32 33 55, Dir +45 38 32 33 70
http://www.jobindex.dk/
Message body is not shown because sender requested not to inline it.