in reply to Good Idiom for Matching List?

would Quantum::Superpositions help any?

Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality

Replies are listed 'Best First'.
Re: Re: Good Idiom for Matching List?
by John M. Dlugosz (Monsignor) on Dec 12, 2002 at 16:07 UTC
    Conceptually, any(@namelist) eq $candidate will be what I want, but how do you get that into a regex, where $candidate is actually the next however many chars from the input?