MATSUNO★Tokuhiro > FormValidator-Lite-0.32 > FormValidator::Lite::Constraint

Download:
FormValidator-Lite-0.32.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: FormValidator-Lite-0.37

NAME ^

FormValidator::Lite::Constraint - utilities for writing constraint rules.

DESCRIPTION ^

This module provides some utility classes for writing constraint rules declaratively.

This module enables strict->import and warnings->import automatically.

FUNCTIONS ^

rule($name, $code)

Define new rule.

file_rule($name, $code)

Define new file uploading rule.

alias($from => $to)

Define the alias.

delsp($x)

Remove white space from $x and return it.

syntax highlighting: