logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Text::Abbrev - abbrev - create an abbreviation table from a 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)); perl v5.40.1 2025-07-03 Text::Abbrev(3perl)

Name

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

Synopsis

use Text::Abbrev; abbrev $hashref, LIST

See Also