The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.