Help for this page

Select Code to Download


  1. or download this
    <$geocoder = Geo::Coder::Google->new(apiver => 3);
            eval {
                $latlong = $geocoder->geocode(location => $location);
    ...
                    $map_coords = $latlong->{geometry}{location}{lat} . " 
    +" . $latlong->{geometry}{location}{lng};
                    $country = $latlong->{address_components}{types}{count
    +ry}{long_name};
    
  2. or download this
    $VAR1 = {
              'formatted_address' => 'Johannesburg, South Africa',
              'types' => [
    ...
                            }
            };
    Not a HASH reference at cvlt_jobs_2 line 239.