NAME WordListRole::BinarySearch - Provide word_exists() that uses binary search VERSION This document describes version 0.006 of WordListRole::BinarySearch (from Perl distribution WordListRole-BinarySearch), released on 2021-04-25. SYNOPSIS use Role::Tiny; use WordList::EN::Enable; my $wl = WordList::EN::Enable->new; Role::Tiny->apply_roles_to_object($wl, "WordListRole::BinarySearch"); DESCRIPTION This role provides an alternative "word_exists()" method that performs binary searching instead of the default linear. The list must be sorted numerically ($SORT is "num" or "numeric") or alphabetically ($SORT is empty). PROVIDED METHODS word_exists HOMEPAGE Please visit the project's homepage at . SOURCE Source repository is at . BUGS Please report any bugs or feature requests on the bugtracker website When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. SEE ALSO File::SortedSeek AUTHOR perlancar COPYRIGHT AND LICENSE This software is copyright (c) 2021 by perlancar@cpan.org. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.