Add p5-Tie-CPHash version 2.000.

This implements a case preserving but case insensitive hash table.
This means that

    $cphash{KEY}    $cphash{key}
    $cphash{Key}    $cphash{keY}

all refer to the same entry.  Also, the hash remembers which form of
the key was last used to store the entry.  The `keys' and `each'
functions will return the key that was used to set the value.
This commit is contained in:
he 2020-12-06 09:57:48 +00:00
parent 5a9d5ae23c
commit 311f773093
3 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,9 @@
This module provides a case preserving but case insensitive hash.
This means that
$cphash{KEY} $cphash{key}
$cphash{Key} $cphash{keY}
all refer to the same entry. Also, the hash remembers which form of
the key was last used to store the entry. The `keys' and `each'
functions will return the key that was used to set the value.

View file

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2020/12/06 09:57:48 he Exp $
DISTNAME= Tie-CPHash-2.000
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tie/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/release/Tie-CPHash/
COMMENT= Case preserving but case insensitive hash table
LICENSE= ${PERL5_LICENSE}
PERL5_PACKLIST= auto/Tie/CPHash/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/12/06 09:57:48 he Exp $
SHA1 (Tie-CPHash-2.000.tar.gz) = d72921e1b542e503337a6accf87374d4ba11b5b1
RMD160 (Tie-CPHash-2.000.tar.gz) = 95f0010952a5c0b1c8ae139589aa8e6071f1be73
SHA512 (Tie-CPHash-2.000.tar.gz) = 0fae8b82f0600cd9bc058623eb036309c59cad323d7fba42880bcb539f702c300a59e2eb20fa972caa8c67682ab13a636c1cab895401c0839f0025ae981628e7
Size (Tie-CPHash-2.000.tar.gz) = 15828 bytes