Carl Franks > HTML-Widget-1.11 > HTML::Widget::Constraint::Any

Download:
HTML-Widget-1.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  3
View/Report Bugs
Source  

NAME ^

HTML::Widget::Constraint::Any - Any Constraint

SYNOPSIS ^

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

DESCRIPTION ^

One or more of the named fields must be present.

METHODS ^

process

default_message

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 ^

Sebastian Riedel, sri@oook.de

LICENSE ^

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

syntax highlighting: