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.