You might try Geo::Coder::Google. In my experience, V3 is more accurate
than V2.

Justin

On Wed, Nov 2, 2011 at 11:36 PM, Greg London <[email protected]> wrote:

>
>
> I'm trying to install Geo::Google  0.05 on my linux box at home.
>
> I keep getting an install error in the tests
>
> ==============================================================
>
> > sudo make test
> cp lib/Geo/Google.pm blib/lib/Geo/Google.pm
> Skip blib/lib/Geo/Google/Segment.pm (unchanged)
> Skip blib/lib/Geo/Google/Path.pm (unchanged)
> Skip blib/lib/Geo/Google/Location.pm (unchanged)
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/Geo-Google.t .. 1/72 Usage: JSON::XS::new(klass) at
> /home/greg/Downloads/Geo-Google-0.05/blib/lib/Geo/Google.pm line 239.
> # Looks like you planned 72 tests but ran 13.
> # Looks like your test exited with 255 just after 13.
> t/Geo-Google.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 59/72 subtests
>
> Test Summary Report
> -------------------
> t/Geo-Google.t (Wstat: 65280 Tests: 13 Failed: 0)
>  Non-zero exit status: 255
>  Parse errors: Bad plan.  You planned 72 tests but ran 13.
> Files=1, Tests=13,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.06 cusr
> 0.00 csys =  0.08 CPU)
> Result: FAIL
> Failed 1/1 test programs. 0/13 subtests failed.
> make: *** [test_dynamic] Error 255
>
>
> ====================================================================
>
> line 239 of Google.pm looks like this:
>
>  my $json = new JSON (skipinvalid => 1, barekey => 1, quotapos => 1,
> unmapping => 1 );
>
> I installed JSON-XS-2.32, which went in without any errors of any kind.
>
> I have no idea how to fix the call to "new" in Google.pm.
>
> Anyone know what's wrong?
>
>
>
> Or does anyone know of a perl module that can take a street address adn
> give me lat/long to within 50 feet or something like that? (don't want it
> to just give me a lat/long for the zip code. Need the actuall street
> address.)
>
>
> Greg
>
>
>
>
>
>
> _______________________________________________
> Boston-pm mailing list
> [email protected]
> http://mail.pm.org/mailman/listinfo/boston-pm
>

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to