freebsd-ports/devel/p5-Params-Validate/pkg-descr
Aaron Dalton dfe9fe37ec - Update from v0.82 to v0.84
0.84 May29, 2006

- The XS version of the code used Carp::croak to report failures,
while the Perl version used Carp::confess. The module has always been
documented as using confess, so now the XS version uses this.

- The new compiler detection code always returned false if you didn't
have ExtUtils::CBuilder installed.

0.83 May 28, 2006

- Change how C compiler detection is done in the Makefile.PL so it
does not rely on having make on the system. The new way should work on
(most?) Unix and Win32 systems. Suggested by David Golden. See RT
18969 (for DateTime.pm, but equally applicable to this module). Will
hopefully fix RT 17644.

- Previously, if a parameter was undefined, regex checks for that
parameter always failed. However, it's quite possible for a regex to
successfully match an undefined value (qr/^$/, for example). Now the
code treats undef as an empty string ('') in regex checks. Reported by
Duncan Salada.

PR:		ports/98304
Submitted by:	aaron
Reviewed by:	maintainer
Approved by:	maintainer, tobez (implicit)
2006-06-02 18:17:54 +00:00

11 lines
615 B
Text

The Params::Validate module allows you to validate method or function
call parameters to an arbitrary level of specificity. At the simplest
level, it is capable of validating the required parameters were given
and that no unspecified additional parameters were passed in. It is
also capable of determining that a parameter is of a specific type,
that it is an object of a certain class hierarchy, that it possesses
certain methods, or applying validation callbacks to arguments.
WWW: http://search.cpan.org/dist/Params-Validate/
Authors: Dave Rolsky, <autarch@urth.org>
Ilya Martynov <ilya@martynov.org>