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

NAME

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

SYNOPSIS

1
2
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

1
2
3
4
5
6
7
$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));
doc_perl
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.