Thorsten Drobnik > HTML-TurboForm-0.75 > HTML::TurboForm::Constraint::Equation

Download:
HTML-TurboForm-0.75.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

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

syntax highlighting: