Ed Freyfogle > Geo-Coder-Many-0.28 > Geo::Coder::Many::Response

Download:
Geo-Coder-Many-0.28.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Geo-Coder-Many-0.46-5

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.

syntax highlighting: