Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

Tools

Text::Abbrev

Perl 5 version 26.0 documentation
Recently read

Text::Abbrev

NAME

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

SYNOPSIS

  1. use Text::Abbrev;
  2. 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

  1. $hashref = abbrev qw(list edit send abort gripe);
  2. %hash = abbrev qw(list edit send abort gripe);
  3. abbrev $hashref, qw(list edit send abort gripe);
  4. abbrev(*hash, qw(list edit send abort gripe));