summaryrefslogtreecommitdiff
path: root/pod/modpods/Abbrev.pod
blob: 85ec88ef851714dda9f5ac142419e32b1a6a82ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
=head1 NAME

abbrev - create an abbreviation table from a list

=head1 SYNOPSIS

    use Abbrev;
    abbrev *HASH, LIST


=head1 DESCRIPTION

Stores all unambiguous truncations of each element of LIST
as keys key in the associative array indicated by C<*hash>.
The values are the original list elements.

=head1 EXAMPLE

    abbrev(*hash,qw("list edit send abort gripe"));