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


HTML-Widget documentation  | view source Contained in the HTML-Widget distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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

METHODS

Top

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

Top

Marcus Ramberg, mramberg@cpan.org

LICENSE

Top

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


HTML-Widget documentation  | view source Contained in the HTML-Widget distribution.