line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
763
|
use 5.008; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
33
|
|
2
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
57
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Text::Pipe::W3CDTF::Parse; |
6
|
|
|
|
|
|
|
our $VERSION = '1.100890'; |
7
|
|
|
|
|
|
|
# ABSTRACT: Parse a W3CDTF date-time string into a DateTime object |
8
|
1
|
|
|
1
|
|
997
|
use DateTime::Format::W3CDTF; |
|
1
|
|
|
|
|
169174
|
|
|
1
|
|
|
|
|
13
|
|
9
|
1
|
|
|
1
|
|
30
|
use parent qw(Text::Pipe::W3CDTF); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub filter_single { |
12
|
1
|
|
|
1
|
1
|
4217
|
my ($self, $input) = @_; |
13
|
1
|
|
|
|
|
10
|
DateTime::Format::W3CDTF->parse_datetime($input); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__END__ |