1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

Add p5-Hash-Slice, make a hash from a deep slice of another hash.

This commit is contained in:
Emanuel Haupt 2015-07-04 09:31:35 +00:00
parent 7f7d823800
commit 108fd98449
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391298
5 changed files with 33 additions and 0 deletions

View File

@ -2287,6 +2287,7 @@
SUBDIR += p5-Hash-MultiKey
SUBDIR += p5-Hash-MultiValue
SUBDIR += p5-Hash-NoRef
SUBDIR += p5-Hash-Slice
SUBDIR += p5-Hash-Union
SUBDIR += p5-Hash-Util-FieldHash-Compat
SUBDIR += p5-Hash-WithDefaults

View File

@ -0,0 +1,21 @@
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= Hash-Slice
PORTVERSION= 0.03
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Make a hash from a deep slice of another hash
BUILD_DEPENDS= p5-Carp-Clan>=0:${PORTSDIR}/devel/p5-Carp-Clan \
p5-Clone>=0.09:${PORTSDIR}/devel/p5-Clone
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Test-Most>=0:${PORTSDIR}/devel/p5-Test-Most
USES= perl5
USE_PERL5= configure
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Hash-Slice-0.03.tar.gz) = 681293035bf7f711623fcac5f5298a41c3b24aa73bedda1825f1582bfea2c5d5
SIZE (Hash-Slice-0.03.tar.gz) = 22031

View File

@ -0,0 +1,7 @@
Hash::Slice lets you easily make a deep slice of a hash, specifically a hash
containing one or more nested hashes. Instead of just taking a slice of the
first level of a hash in an all-or-nothing manner, you can use slice to take a
slice of the first level, then take a particular slice of the second level, and
so on.
WWW: http://search.cpan.org/dist/Hash-Slice/

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/Hash/Slice.pm
%%PERL5_MAN3%%/Hash::Slice.3.gz