The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

HTML::TurboForm::Constraint::Equation

Representation class for Equation constraint.

DESCRIPTION

The equation constraint is supposed to be used whenever two values are to be compared. You have to give it the perl operator (ne, eq, <,>, whatever) and the two values to be compared via the params hash. Straight forward so no need for much documentation. See HTML::TurboForm doku for mopre details.

METHODS

check

Arguments: none

returns 1 if valid, otherwise 0.

message

Arguments: none

returns Errormessage of Element which is connected to constraint.

AUTHOR

Thorsten Domsch, tdomsch@gmx.de