File: Constraints.pm

package info (click to toggle)
libformvalidator-simple-perl 0.29-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 412 kB
  • sloc: perl: 3,043; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 527 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package FormValidator::Simple::Constraints;
use strict;
use base qw/FormValidator::Simple::ArrayList/;
use FormValidator::Simple::Constants;
use FormValidator::Simple::Iterator;

__PACKAGE__->mk_accessors(qw/needs_blank_check/);

sub _init {
    my $self = shift;
    $self->needs_blank_check( FALSE );
}

sub iterator {
    my $self = shift;
    return FormValidator::Simple::Constraint::Iterator->new($self);
}

package FormValidator::Simple::Constraint::Iterator;
use base qw/FormValidator::Simple::Iterator/;

1;
__END__