Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

perlman:Text::Abbrev

by root (Scribe)
on Dec 23, 1999 at 00:53 UTC ( #1253=perlfunc: print w/replies, xml ) Need Help??

Text::Abbrev

See the current Perl documentation for Text::Abbrev.

Here is our local, out-dated (pre-5.6) version:


abbrev - create an abbreviation table from a list



    use Text::Abbrev;
    abbrev $hashref, LIST



Stores all unambiguous truncations of each element of LIST as keys key in the associative array referenced to 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));

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[robby_dobby]: shmem:everything2
robby_dobby says Sorry and points to his boredom
[shmem]: robby_dobby: since everything is everything, it is thus also everything2. And everything2 is based on... you name it.
[Corion]: Mhhmmm. I just had to remind two contractos of their priorities from my point of view. This felt somewhat like getting my godson+siblings to clean their room, including the evil eye I threw them ;)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2017-04-25 13:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (454 votes). Check out past polls.