1Text::Abbrev(3pm) Perl Programmers Reference Guide Text::Abbrev(3pm)
2
3
4
6 Text::Abbrev - abbrev - create an abbreviation table from a list
7
9 use Text::Abbrev;
10 abbrev $hashref, LIST
11
13 Stores all unambiguous truncations of each element of LIST as keys in
14 the associative array referenced by $hashref. The values are the
15 original list elements.
16
18 $hashref = abbrev qw(list edit send abort gripe);
19
20 %hash = abbrev qw(list edit send abort gripe);
21
22 abbrev $hashref, qw(list edit send abort gripe);
23
24 abbrev(*hash, qw(list edit send abort gripe));
25
26
27
28perl v5.28.2 2018-03-01 Text::Abbrev(3pm)