'location' is under 'geometry', not under 'viewport'. So the following does it:
my $long = $location->{'geometry'}{'location'}{'lng'}; my $lat = $location->{'geometry'}{'location'}{'lat'};
In reply to Re: Google decoder
by hdb
in thread Google decoder
by bkerr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |