Tie::RegexpHash - Use regular expressions as hash keys River stage one • 1 direct dependent • 1 total dependent

This module allows one to use regular expressions for hash keys, so that values can be associated with anything that matches the key. Hashes can be operated on using the standard tied hash interface in Perl, as described in the SYNOPSIS, or using an ...

ALTREUS/Tie-RegexpHash-0.17 - 13 Jan 2015 17:51:58 UTC

Tie::Hash::Regex - Match hash keys using Regular Expressions River stage one • 1 direct dependent • 1 total dependent

Someone asked on Perlmonks if a hash could do fuzzy matches on keys - this is the result. If there's no exact match on the key that you pass to the hash, then the key is treated as a regex and the first matching key is returned. You can force it to l...

DAVECROSS/Tie-Hash-Regex-1.14 - 25 Jan 2021 10:15:53 UTC
2 results (0.036 seconds)