| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Apache::Voodoo::Validate::text; |
|
2
|
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1320
|
use strict; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
67
|
|
|
4
|
2
|
|
|
2
|
|
11
|
use warnings; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
71
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
10
|
use base("Apache::Voodoo::Validate::varchar"); |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
817
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub config { |
|
9
|
1
|
|
|
1
|
0
|
2
|
my ($self,$c) = @_; |
|
10
|
|
|
|
|
|
|
|
|
11
|
1
|
|
|
|
|
2
|
$c->{length} = 0; |
|
12
|
|
|
|
|
|
|
|
|
13
|
1
|
|
|
|
|
10
|
return $self->SUPER::config($c); |
|
14
|
|
|
|
|
|
|
} |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
################################################################################ |
|
19
|
|
|
|
|
|
|
# Copyright (c) 2005-2010 Steven Edwards (maverick@smurfbane.org). |
|
20
|
|
|
|
|
|
|
# All rights reserved. |
|
21
|
|
|
|
|
|
|
# |
|
22
|
|
|
|
|
|
|
# You may use and distribute Apache::Voodoo under the terms described in the |
|
23
|
|
|
|
|
|
|
# LICENSE file include in this package. The summary is it's a legalese version |
|
24
|
|
|
|
|
|
|
# of the Artistic License :) |
|
25
|
|
|
|
|
|
|
# |
|
26
|
|
|
|
|
|
|
################################################################################ |