Skip Menu |

This queue is for tickets about the Geo-Google CPAN distribution.

Report information
The Basics
Id: 23756
Status: new
Priority: 0/
Queue: Geo-Google

People
Owner: Nobody in particular
Requestors: maltedmethod [...] googlemail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Crashes when you try to create a Geo::Google::Location object
Date: Sun, 3 Dec 2006 16:38:58 -0500
To: bug-Geo-Google [...] rt.cpan.org
From: "Michael Trowbridge" <maltedmethod [...] googlemail.com>
This script: <code> #!/usr/bin/perl use Geo::Google; my $geo = Geo::Google->new(); print "Geo::Google object created\n"; my $address = "Washington, DC"; my $loc = $geo->location( address => $address ) or die "Can't look up location in google!\n"; print "Geo::Google::Location object created\n"; print "$address\nLat: " . $loc->latitude() . " long: " . $loc->longitude() . "\n"; </code> produces this output: Geo::Google object created no element found at line 1, column 0, byte -1 at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/XML/Parser.pm line 187