Subject: | v3 api broken if JSON::XS is loaded |
Please check these two examples where the first one works and the second
one fails just because another module is loaded:
perl -MGeo::Coder::Google -MData::Dumper -E 'say
Dumper(Geo::Coder::Google->new( apiver => 3 )->geocode( location =>
"1600 Amphitheatre Parkway, 94043 Mountain View,CA"))'
perl -MJSON::XS -MGeo::Coder::Google -MData::Dumper -E 'say
Dumper(Geo::Coder::Google->new( apiver => 3 )->geocode( location =>
"1600 Amphitheatre Parkway, 94043 Mountain View,CA"))'
Seems like the sensor query param in the second example is submitted as
sensor=0 instead of sensor=false