[Quoting Ken Williams, on February 22 2009, 06:55, in "Re: autoabbrev algor"]
> You should have a look at R (http://www.r-project.org/) and its
> calling conventions. Named parameters to functions can typically
> (though not always) be abbreviated.
How does it handle ambiguousness introduced by a
On Fri, Feb 13, 2009 at 8:05 AM, Johan Vromans wrote:
> Abbreviations are for people typing input (in general, commands).
> Using abbreviations in programs and script is a bad idea and asking
> for troubles.
You should have a look at R (http://www.r-project.org/) and its
calling conventions. Nam
# from Bill Ward
# on Friday 13 February 2009 11:08:
>> What's wrong with Text::Abbrev? It's been part of the core for a
>> long time.
>
>That might be the thing I'm looking for, thanks.
It does appear to have an issue with not detecting ambiguous
abbreviations.
my %hash = abbrev(qw(dog door
On Fri, Feb 13, 2009 at 6:22 AM, Darren Chamberlain wrote:
> On Fri, Feb 13, 2009 at 09:05, Johan Vromans wrote:
> >> I could just extract the code from Getopt::Long but I think it would
> >> be a useful thing to have as a CPAN module...
> >
> > No problem with that, but since this is only suppos
Darren Chamberlain wrote:
What's wrong with Text::Abbrev? It's been part of the core for a long time.
if you ask what's wrong, that's the POD. the name is set to 'abbrev', it
sort of even breaks search.cpan.org. I guess many don't know about the
module for this reason :-)
cheers,
Aldo
On Fri, Feb 13, 2009 at 09:05, Johan Vromans wrote:
>> I could just extract the code from Getopt::Long but I think it would
>> be a useful thing to have as a CPAN module...
>
> No problem with that, but since this is only supposed to assist
> typing, would't looking at readline completions be a be
[Quoting Bill Ward, on February 12 2009, 16:15, in "autoabbrev algorithm"]
> Do you know of any Perl module that provides the algorithm used in
> Getopt::Long to implement the automatic abbreviation feature? I'd like to
> have that feature available for not just command-line arguments, but
> subro
Johan and/or CPAN module authors:
Do you know of any Perl module that provides the algorithm used in
Getopt::Long to implement the automatic abbreviation feature? I'd like to
have that feature available for not just command-line arguments, but
subroutine arguments in modules that I write. I coul