summaryrefslogtreecommitdiff
path: root/textproc/p5-Data-FormValidator/pkg-descr
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2001-10-30 14:01:47 +0000
committerAnton Berezin <tobez@FreeBSD.org>2001-10-30 14:01:47 +0000
commit9010ecd442a99672be5ae5a3362e9458a099cecc (patch)
treea200fb726191ef8a5845441d407039f5e095e316 /textproc/p5-Data-FormValidator/pkg-descr
parentUpdate fontset patch. (diff)
Add p5-Data-FormValidator 1.6, a perl module to validate user input,
usually from an HTML form. PR: 31563 Submitted by: Seamus Venasse <svenasse@polaris.ca>
Notes
Notes: svn path=/head/; revision=49384
Diffstat (limited to 'textproc/p5-Data-FormValidator/pkg-descr')
-rw-r--r--textproc/p5-Data-FormValidator/pkg-descr23
1 files changed, 23 insertions, 0 deletions
diff --git a/textproc/p5-Data-FormValidator/pkg-descr b/textproc/p5-Data-FormValidator/pkg-descr
new file mode 100644
index 000000000000..273eaf04c28b
--- /dev/null
+++ b/textproc/p5-Data-FormValidator/pkg-descr
@@ -0,0 +1,23 @@
+Data::FormValidator's main aim is to make the tedious coding of input
+validation expressible in a simple format and to let the programmer focus
+on more interesting tasks.
+
+When you are coding a web application one of the most tedious though
+crucial tasks is to validate user's input (usually submitted by way of
+an HTML form). You have to check that each required fields is present
+and that some fields have valid data. (Does the phone input looks like a
+phone number? Is that a plausible email address? Is the YY state
+valid? etc.) For a simple form, this is not really a problem but as
+forms get more complex and you code more of them this task becames
+really boring and tedious.
+
+Data::FormValidator lets you define profiles which declare the
+required fields and their format. When you are ready to validate the
+user's input, you tell Data::FormValidator the profile to apply to the
+user data and you get the valid fields, the name of the fields which
+are missing. An array is returned listing which fields are valid,
+missing, invalid and unknown in this profile.
+
+WWW: http://search.cpan.org/search?dist=Data-FormValidator
+
+Seamus Venasse <svenasse@polaris.ca>