The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Geo::Coder::Many::Scheduler::OrderedList - Ordered list scheduler

DESCRIPTION

This is a scheduler representing a strict preferential order - it will always use the first geocoder in the list, unless it fails, in which case it'll fall back to the second in the list, and then the third, and so on.

METHODS

new

reset_available

Resets the list back to how it was initially set.

get_next_unique

Returns the next item in the list.

next_available

Returns zero if there are items available, and -1 if there aren't.