line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Time::Piece::DayOfWeek; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
98263
|
use strict; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
127
|
|
4
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
69
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
60
|
use 5.008_005; |
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
496
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.02'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
{ |
10
|
|
|
|
|
|
|
package # hide from pause |
11
|
|
|
|
|
|
|
Time::Piece; |
12
|
|
|
|
|
|
|
|
13
|
2
|
|
|
2
|
0
|
1086
|
sub is_sunday { shift->wday == 1 } |
14
|
2
|
|
|
2
|
0
|
806
|
sub is_monday { shift->wday == 2 } |
15
|
2
|
|
|
2
|
0
|
1769
|
sub is_tuesday { shift->wday == 3 } |
16
|
2
|
|
|
2
|
0
|
1078
|
sub is_wednesday { shift->wday == 4 } |
17
|
2
|
|
|
2
|
0
|
1020
|
sub is_thursday { shift->wday == 5 } |
18
|
2
|
|
|
2
|
0
|
1114
|
sub is_friday { shift->wday == 6 } |
19
|
2
|
|
|
2
|
0
|
1095
|
sub is_saturday { shift->wday == 7 } |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
__END__ |