in reply to Call Subroutines by Approximate Name

Cool idea! But rather than Text::Soundex, you could use String::Approx and get a better match, I think.

-- Randal L. Schwartz, Perl hacker

  • Comment on RE: Call Subroutines by Approximate Name

Replies are listed 'Best First'.
RE: RE: Call Subroutines by Approximate Name
by davorg (Chancellor) on Jul 26, 2000 at 19:21 UTC

    Thanks for the idea. I chose Text::Soundex because it was available in the standard distribution.

    Of course in a perfect world, the fuzzy matching would be user configurable. Hmm...

    Update

    As of version 0.05, Sub::Approx now supports user-configurable fuzzy matching. Get it from CPAN.

    --
    <http://www.dave.org.uk>

    European Perl Conference - Sept 22/24 2000, ICA, London
    <http://www.yapc.org/Europe/>