[libdata-validate-perl] 03/05: d/control
Nick Morrott
nickm-guest at moszumanska.debian.org
Sun May 29 20:49:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
nickm-guest pushed a commit to branch master
in repository libdata-validate-perl.
commit 14403f5d6f8753560069e4b45c54a35d842ef0bf
Author: Nick Morrott <knowledgejunkie at gmail.com>
Date: Sun May 29 17:22:48 2016 +0100
d/control
---
debian/control | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/debian/control b/debian/control
index f3cf710..d4fc1b0 100644
--- a/debian/control
+++ b/debian/control
@@ -14,16 +14,13 @@ Testsuite: autopkgtest-pkg-perl
Package: libdata-validate-perl
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}
-Description: unknown
+Description: module providing common data validation routines for strings/numbers
Data::Validate collects common validation routines to make input validation,
and untainting easier and more readable. Most of the functions are not much
shorter than their direct perl equivalent (and are much longer in some
- cases), but their names make it clear what you're trying to test for.
+ cases), but their names make it clear what you're trying to test for (e.g.
+ is_integer(), is_hex(), is_alphanumeric()...).
.
Almost all functions return an untainted value if the test passes, and undef
if it fails. This means that you should always check for a defined status
explicitly. Don't assume the return will be true. (e.g. is_integer(0))
- .
- The value to test is always the first (and often only) argument.
- .
- This description was automagically extracted from the module by dh-make-perl.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdata-validate-perl.git
More information about the Pkg-perl-cvs-commits
mailing list