NAME

HTML::Widget::Constraint::Equal - Equal Constraint

SYNOPSIS

my $c = $widget->constraint( 'Equal', 'foo', 'bar' );

DESCRIPTION

Equal Constraint. All provided elements must be the same. Combine this with the All constraint to make sure all elements are equal.

METHODS

process

render_errors

Arguments: @names

A list of element names for which an error should be displayed.

If this is not set, the default behaviour is for the error to be displayed for all of the Constraint's named elements.

AUTHOR

Marcus Ramberg, mramberg@cpan.org

LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.