table of contents
other versions
- bookworm 5.36.0-7+deb12u1
- testing 5.40.0-8
- unstable 5.40.0-8
- experimental 5.40.1-1
Text::Abbrev(3perl) | Perl Programmers Reference Guide | Text::Abbrev(3perl) |
NAME¶
Text::Abbrev - abbrev - create an abbreviation table from a list
SYNOPSIS¶
use Text::Abbrev; abbrev $hashref, LIST
DESCRIPTION¶
Stores all unambiguous truncations of each element of LIST as keys in the associative array referenced by $hashref. The values are the original list elements.
EXAMPLE¶
$hashref = abbrev qw(list edit send abort gripe); %hash = abbrev qw(list edit send abort gripe); abbrev $hashref, qw(list edit send abort gripe); abbrev(*hash, qw(list edit send abort gripe));
2024-11-23 | perl v5.40.0 |