perl-Complete-Util - General completion routine
This package provides some generic completion routines that follow the Complete convention. (If you are looking for bash/shell tab completion routines, take a look at the See Also section.) The main routine is 'complete_array_elem' which tries to complete a word using choices from elements of supplied array. For example:
complete_array_elem(word => "a", array => ["apple", "apricot", "banana"]);
The routine will first try a simple substring prefix matching. If that fails, will try some other methods like word-mode, character-mode, or fuzzy matching. These methods can be disabled using settings.
There are other utility routines e.g. for converting completion answer structure from hash to array/array to hash, combine or modify answer, etc. These routines are usually used by the other more specific or higher-level completion modules.
- Sources inherited from project devel:languages:perl
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-Complete-Util && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
Complete-Util-0.620.tar.gz | 0000035761 34.9 KB | |
cpanspec.yml | 0000000923 923 Bytes | |
perl-Complete-Util.changes | 0000002911 2.84 KB | |
perl-Complete-Util.spec | 0000002765 2.7 KB |
Comments 0