Port details on branch 2022Q2 |
- p5-Tie-Hash-Regex Match hash keys using Regular Expressions
- 1.14 devel =0 1.14Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2007-01-01 16:10:25
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Tie-Hash-Regex
- Description:
- 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 leap straight into the regex checking by passing a qr'ed regex
into the hash like this:
my $val = $h{qr/key/};
exists and delete also do regex matching. In the case of delete all values
matching your regex key will be deleted from the hash.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Tie-Hash-Regex>0:devel/p5-Tie-Hash-Regex
- To install the port:
- cd /usr/ports/devel/p5-Tie-Hash-Regex/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Tie-Hash-Regex
- pkg install p5-Tie-Hash-Regex
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Tie-Hash-Regex
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1612101734
SHA256 (Tie-Hash-Regex-1.14.tar.gz) = 68d884b41ac1941318276be25f61297ea2187637c3eae5382f96c688d1c52590
SIZE (Tie-Hash-Regex-1.14.tar.gz) = 6016
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Attribute-Handlers>=0 : devel/p5-Attribute-Handlers
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Attribute-Handlers>=0 : devel/p5-Attribute-Handlers
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Tie-Hash-Regex
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|