1Text::Abbrev(3pm)      Perl Programmers Reference Guide      Text::Abbrev(3pm)
2
3
4

NAME

6       Text::Abbrev - abbrev - create an abbreviation table from a list
7

SYNOPSIS

9           use Text::Abbrev;
10           abbrev $hashref, LIST
11

DESCRIPTION

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

EXAMPLE

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.38.2                      2023-11-30                 Text::Abbrev(3pm)
Impressum