Category: | Utility Scripts |
Author/Contact Info | barry@polisource.com |
Description: | Similar to Text::Abbrev (Text::Abbrev output example here). I intend to use it to create unique variable names based on the first few characters of the variables' values (the elements of @Lines). Variables that are still identical get numbered. It's already set up as a demo, so try it out and see how it differs from Text::Abbrev and similar modules. @Lines contains demo phrases to be abbreviated. The configuration options are $Max_Length (of returned phrases), $Letters_Only (1=yes, 0=no), and $Replacement (string that replaces non-letters). The code is full of global variables, not enough comments, and probably other bad stuff, but I know that's what everyone loves about me. I intend to fix it up. Maybe. |
Code removed by author. I no longer want to contribute to this community. |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: VarStructor II -- Abbreviation tool
by jeffa (Bishop) on Jun 01, 2004 at 14:18 UTC | |
| |
Re: VarStructor II -- Abbreviation tool
by herveus (Prior) on Apr 22, 2004 at 13:37 UTC | |
|