Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/libs/perlmods
In directory sc8-pr-cvs1:/tmp/cvs-serv25009
Added Files:
params-validate-pm-0.50-1.info params-validate-pm-0.50-1.patch
Removed Files:
params-validate-pm-0.24-1.info params-validate-pm-0.24-1.patch
Log Message:
New upstream version
--- NEW FILE: params-validate-pm-0.50-1.info ---
Package: params-validate-pm
Version: 0.50
Revision: 1
Description: Perl module to validate method/function parameters
Type: perl
License: Artistic
Maintainer: Christian Schaffner <[EMAIL PROTECTED]>
# Dependencies:
Depends: attribute-handlers-pm
# Unpack Phase:
Source: mirror:cpan:authors/id/D/DR/DROLSKY/Params-Validate-%v.tar.gz
Source-MD5: 472aa24027e77c6eefd9d79afa5b3d70
# Patch Phase:
Patch: %f.patch
# Install Phase:
UpdatePOD: true
DocFiles: Changes MANIFEST README
# Additional Data:
DescDetail: <<
The Params::Validate module provides a flexible system for validation
method/function call parameters. The validation can be as simple as
checking for the presence of required parameters or as complex as
validating object classes (via isa) or capabilities (via can),
checking parameter types, and using customized callbacks to ensure
data integrity.
The module has been designed to work equally well with positional or
named parameters (via a hash or hash reference).
<<
DescPort: <<
3 tests failed. I patched the test files to remove them.
<<
Homepage: http://search.cpan.org/dist/Params-Validate
--- NEW FILE: params-validate-pm-0.50-1.patch ---
diff -ru Params-Validate-0.50/t/06-options.t
Params-Validate-0.50-patched/t/06-options.t
--- Params-Validate-0.50/t/06-options.t Thu Jan 9 19:15:59 2003
+++ Params-Validate-0.50-patched/t/06-options.t Tue Jan 14 14:51:12 2003
@@ -8,7 +8,7 @@
}
use Test;
-BEGIN { plan test => 7 }
+BEGIN { plan test => 4 }
Params::Validate::validation_options( stack_skip => 2 );
@@ -32,11 +32,3 @@
ok( $@ );
ok( $@ =~ /mandatory.*missing.*call to main::baz/i );
-
-Params::Validate::validation_options( on_fail => sub { die { hash => 'ref' } } );
-
-eval { baz() };
-
-ok( $@ );
-ok( ref $@ eq 'HASH' );
-ok( $@->{hash} eq 'ref' );
--- params-validate-pm-0.24-1.info DELETED ---
--- params-validate-pm-0.24-1.patch DELETED ---
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits