1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Add p5-Class-ParmList 1.03, a module for processing named parameter

lists for method calls.

This is a simple package for validating calling parameters to a subroutine
or method. It allows you to use "named parameters" while providing checking
for number and naming of parameters for verifying inputs are as expected and
meet any minimum requirements. It also allows the setting of default values
for the named parameters if omitted

PR:		58453
Submitted by:	clsung@dragon2.net
This commit is contained in:
Foxfair Hu 2003-10-24 04:18:59 +00:00
parent 2c52b9e94f
commit 4777ca6e31
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92019
5 changed files with 39 additions and 0 deletions

View File

@ -538,6 +538,7 @@
SUBDIR += p5-Class-NamedParms
SUBDIR += p5-Class-ObjectTemplate
SUBDIR += p5-Class-ObjectTemplate-DB
SUBDIR += p5-Class-ParmList
SUBDIR += p5-Class-ReturnValue
SUBDIR += p5-Class-Singleton
SUBDIR += p5-Class-Tangram

View File

@ -0,0 +1,22 @@
# New ports collection makefile for: devel/p5-Class-ParmList
# Date created: Oct 23 2003
# Whom: clsung@dragon2.net
#
# $FreeBSD$
#
PORTNAME= Class-ParmList
PORTVERSION= 1.03
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX= p5-
MAINTAINER= clsung@dragon2.net
COMMENT= A module for processing named parameter lists for method calls
PERL_CONFIGURE= yes
MAN3= Class::ParmList.3
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Class-ParmList-1.03.tar.gz) = 76ad291cf2325f77077d1dbe76396775

View File

@ -0,0 +1,10 @@
Class::ParmList
General named parameter list parser. Handles default values,
required vs allowed distinctions, optional name lexical checking,
multiple retrieval, and error reporting. Works well as a complement to
Class::NamedParms.
WWW: http://search.cpan.org/~snowhare/Class-ParmList-1.03/
Author: Benjamin Franz

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/Class/ParmList.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/ParmList/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/ParmList
@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/ParmList 2>/dev/null || true