BSD Ports

textproc/p5-Validator-Custom 1.0201 DragonFly

Validator::Custom for simple data validation

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, textproc
Package size
46.6 KiB, 123.8 KiB installed

Description

Validator::Custom validate HTML form data easy and flexibly. The features are the following ones.

  • Many constraint functions are available by default, such as not_blank, int, defined, in_array, length.
  • Several filter functions are available by default, such as trim, datetime_to_timepiece, date_to_timepiece.
  • You can register your constraint function.
  • You can set error messages for invalid parameter value. The order of messages is keeped.
  • Support OR condtion constraint and negativate constraint.

In the other systems

SystemPortVersion
DragonFlytextproc/p5-Validator-Custom1.0201
FreeBSDtextproc/p5-Validator-Custom1.0201

Install

Binary package:

pkg install p5-Validator-Custom

From DPorts:

cd /usr/dports/textproc/p5-Validator-Custom && make install clean

Dependencies

Run dependencies 2

No port depends on this one.