BSD Ports

textproc/p5-Validator-Custom 1.0201 FreeBSD

Validator::Custom for simple data validation

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
textproc, perl5
Package size
46.4 KiB, 121.7 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
FreeBSDtextproc/p5-Validator-Custom1.0201
DragonFlytextproc/p5-Validator-Custom1.0201

Install

Binary package:

pkg install p5-Validator-Custom

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Validator-Custom>0:textproc/p5-Validator-Custom

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.02011.02011.02011.02011.0201
FreeBSD:14:quarterly1.02011.0201n/a1.02011.0201
FreeBSD:15:latest1.02011.0201n/a1.02011.0201
FreeBSD:15:quarterly1.02011.0201n/an/an/a
FreeBSD:16:latest1.02011.0201n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 18
  • %%SITE_PERL%%/Validator/Custom.pm
  • %%SITE_PERL%%/Validator/Custom/CheckFunction.pm
  • %%SITE_PERL%%/Validator/Custom/Constraint.pm
  • %%SITE_PERL%%/Validator/Custom/Constraints.pm
  • %%SITE_PERL%%/Validator/Custom/Document/Version0.pod
  • %%SITE_PERL%%/Validator/Custom/FilterFunction.pm
  • %%SITE_PERL%%/Validator/Custom/Result.pm
  • %%SITE_PERL%%/Validator/Custom/Rule.pm
  • %%SITE_PERL%%/Validator/Custom/Validation.pm
  • %%PERL5_MAN3%%/Validator::Custom.3.gz
  • %%PERL5_MAN3%%/Validator::Custom::CheckFunction.3.gz
  • %%PERL5_MAN3%%/Validator::Custom::Constraint.3.gz
  • %%PERL5_MAN3%%/Validator::Custom::Constraints.3.gz
  • %%PERL5_MAN3%%/Validator::Custom::Document::Version0.3.gz
  • %%PERL5_MAN3%%/Validator::Custom::FilterFunction.3.gz
  • %%PERL5_MAN3%%/Validator::Custom::Result.3.gz
  • %%PERL5_MAN3%%/Validator::Custom::Rule.3.gz
  • %%PERL5_MAN3%%/Validator::Custom::Validation.3.gz
distinfo 1
FileSizeSHA256
Validator-Custom-1.0201.tar.gz387628cf4e0d7529ad747992ca9159d7acd769884b5e97b4c6c72de637a79a241d81f
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.