unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OpenBSD-3.6)
Page:
Section:
Apropos / Subsearch:
optional field



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


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





































perl v5.8.5                 2002-11-06                          1