Perl Brasil

Pesquisar

Documentação

Artigos

Planeta

Eventos

Comunidade

r1 - 26 May 2008 - TWikiGuest


NAME

abbrev - create an abbreviation table from a list

voltar para o topo


SYNOPSIS

    use Text::Abbrev;
    abbrev $hashref, LIST

voltar para o topo


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.

voltar para o topo


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

voltar para o topo