Text::Abbrev(3p) Perl Programmers Reference Guide Text::Abbrev(3p)

Text::Abbrev(3p) Perl Programmers Reference Guide Text::Abbrev(3p) #

Text::Abbrev(3p) Perl Programmers Reference Guide Text::Abbrev(3p)

NNAAMMEE #

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

SSYYNNOOPPSSIISS #

     use Text::Abbrev;
     abbrev $hashref, LIST

DDEESSCCRRIIPPTTIIOONN #

 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.

EEXXAAMMPPLLEE #

     $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));

perl v5.36.3 2013-03-25 Text::Abbrev(3p)