Alex Balhatchet
and 1 contributors

NAME

Geo::Coder::Many::Response - standard geocoder response container object

DESCRIPTION

This module provides a standard response format for geocoder results - the various geocoder plugins should all do the necessary conversions to return a response in this format.

METHODS

new

Constructs and returns a new, empty response object.

add_response

Takes a response, together with the name of the geocoder used to produce it, and stores it.

set_response_code

get_location

Getter for the location string

get_response_code

Getter for the response code

get_geocoder

Getter for the geocoder name

get_responses

In list context, returns all of the responses. In scalar context, returns the first response.