manpagez: man pages & more
man Text::Abbrev(3)
Home | html | info | man
Text::Abbrev(3pm)      Perl Programmers Reference Guide      Text::Abbrev(3pm)




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.10.0                      2007-12-18                 Text::Abbrev(3pm)

Mac OS X 10.6 - Generated Thu Sep 17 20:17:02 CDT 2009
© manpagez.com 2000-2017
Individual documents may contain additional copyright information.