On Jun 11, RICHARD A. NAKROSHIS (Contractor) said:

>After poking around in the online documentation with AS 626, I came
>across reference to the Text::Abbrev module.  There's not a whole lot of
>documentation for it, and I frankly can't figure out what it supposed to
>do, or to come up with a good example program of what it does.
>
>Anyone find a use for this module?

Yes.  To abbreviate commands.

Here's a list of commands: START STOP QUEUE QUIT

Here's the abbreviation list:

qw(
  STA    START
  STAR   START
  START  START
  STO    STOP
  STOP   STOP
  QUE    QUEUE
  QUEU   QUEUE
  QUEUE  QUEUE
  QUI    QUIT
  QUIT   QUIT  
);

See the usefulness?  I can say "que", and the hash find that "que" maps to
"queue".

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun.
Are you a Monk?  http://www.perlmonks.com/     http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc.     http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter.         Brother #734
**      Manning Publications, Co, is publishing my Perl Regex book      **

Reply via email to