Gee, Randal, I have no idea how it differs. Since I don't have time to know each and every module cataloged at CPAN and other places, sometimes I write my own stuff, even when it's only 10 lines.
Update: And furthermore, Text::Abbrev doesn't do what I want. It gives me a hash of abbreviations, with the original strings as the values. Where exactly am I supposed to put the pointers to the functions to execute? No, that doesn't solve the problem at all. I suppose I could create the abbreviation hash from the command hash, but the sure seems like an extra step. And I don't get to use the nifty grep() function everyone carries on so much about. And even better, if the *user* should type more than the minimum number of characters required, it won't find the command. *BZZZZT* wrong answer!
--Chris
(And yes, I voted down your response for sarcasm)
e-mail jcwren
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.