line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Form::Processor::Field::MonthName; |
2
|
|
|
|
|
|
|
$Form::Processor::Field::MonthName::VERSION = '1.162360'; |
3
|
2
|
|
|
2
|
|
848
|
use strict; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
43
|
|
4
|
2
|
|
|
2
|
|
6
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
42
|
|
5
|
2
|
|
|
2
|
|
5
|
use base 'Form::Processor::Field::Select'; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
523
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub init_options { |
10
|
1
|
|
|
1
|
0
|
5
|
my $i = 1; |
11
|
1
|
|
|
|
|
2
|
my @months = qw/ |
12
|
|
|
|
|
|
|
January |
13
|
|
|
|
|
|
|
February |
14
|
|
|
|
|
|
|
March |
15
|
|
|
|
|
|
|
April |
16
|
|
|
|
|
|
|
May |
17
|
|
|
|
|
|
|
June |
18
|
|
|
|
|
|
|
July |
19
|
|
|
|
|
|
|
August |
20
|
|
|
|
|
|
|
September |
21
|
|
|
|
|
|
|
October |
22
|
|
|
|
|
|
|
November |
23
|
|
|
|
|
|
|
December |
24
|
|
|
|
|
|
|
/; |
25
|
|
|
|
|
|
|
return [ |
26
|
|
|
|
|
|
|
map { |
27
|
1
|
|
|
|
|
2
|
{ value => $i++, label => $_ } |
|
12
|
|
|
|
|
16
|
|
28
|
|
|
|
|
|
|
} @months |
29
|
|
|
|
|
|
|
]; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
# ABSTRACT: Select list for month names |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |