From owner-cvs-all@FreeBSD.ORG Fri Sep 9 21:43:28 2011 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E2CB1065673; Fri, 9 Sep 2011 21:43:28 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 350F18FC15; Fri, 9 Sep 2011 21:43:28 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p89LhSkA085641; Fri, 9 Sep 2011 21:43:28 GMT (envelope-from sunpoet@repoman.freebsd.org) Received: (from sunpoet@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p89LhSGh085640; Fri, 9 Sep 2011 21:43:28 GMT (envelope-from sunpoet) Message-Id: <201109092143.p89LhSGh085640@repoman.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Fri, 9 Sep 2011 21:43:28 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel Makefile ports/devel/p5-Data-Domain Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 21:43:28 -0000 sunpoet 2011-09-09 21:43:28 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/p5-Data-Domain Makefile distinfo pkg-descr pkg-plist Log: - Add p5-Data-Domain 0.14 A data domain is a description of a set of values, either scalar or structured (arrays or hashes). The description can include many constraints, like minimal or maximal values, regular expressions, required fields, forbidden fields, and also contextual dependencies. From that description, one can then invoke the domain's inspect method to check if a given value belongs to it or not. In case of mismatch, a structured set of error messages is returned. The motivation for writing this package was to be able to express in a compact way some possibly complex constraints about structured data. Typically the data is a Perl tree (nested hashrefs or arrayrefs) that may come from XML, JSON, from a database through DBIx::DataModel, or from postprocessing an HTML form through CGI::Expand. Data::Domain is a kind of tree parser on that structure, with some facilities for dealing with dependencies within the structure, and with several options to finely tune the error messages returned to the user. WWW: http://search.cpan.org/dist/Data-Domain/ Revision Changes Path 1.4540 +1 -0 ports/devel/Makefile 1.1 +24 -0 ports/devel/p5-Data-Domain/Makefile (new) 1.1 +2 -0 ports/devel/p5-Data-Domain/distinfo (new) 1.1 +16 -0 ports/devel/p5-Data-Domain/pkg-descr (new) 1.1 +2 -0 ports/devel/p5-Data-Domain/pkg-plist (new)