| HTML-FormFu documentation | Contained in the HTML-FormFu distribution. |
HTML::FormFu::Constraint::Integer - Unsigned Integer Constraint
Integer constraint.
Is a sub-class of, and inherits methods from HTML::FormFu::Constraint::Regex, HTML::FormFu::Constraint
Carl Franks, cfranks@cpan.org
Based on the original source code of HTML::Widget::Constraint::Integer, by
Sebastian Riedel, sri@oook.de.
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
| HTML-FormFu documentation | Contained in the HTML-FormFu distribution. |
package HTML::FormFu::Constraint::Integer; use Moose; extends 'HTML::FormFu::Constraint::Regex'; sub regex {qr/^[0-9]*\z/} __PACKAGE__->meta->make_immutable; 1; __END__