⭐ in reply to Using RegExp with hashes and returning multiple values
Match against the keys of the hash.
But you might be in luck: CPAN has Tie::Hash::Approx and Tie::Hash::Regex, one of which might be suitable for you.
|
---|
In Section
Seekers of Perl Wisdom