Commit | Line | Data |
---|---|---|
a0d0e21e | 1 | =head1 NAME |
2 | ||
3 | abbrev - create an abbreviation table from a list | |
4 | ||
5 | =head1 SYNOPSIS | |
6 | ||
7 | use Abbrev; | |
8 | abbrev *HASH, LIST | |
9 | ||
10 | ||
11 | =head1 DESCRIPTION | |
12 | ||
13 | Stores all unambiguous truncations of each element of LIST | |
14 | as keys key in the associative array indicated by C<*hash>. | |
15 | The values are the original list elements. | |
16 | ||
17 | =head1 EXAMPLE | |
18 | ||
19 | abbrev(*hash,qw("list edit send abort gripe")); |