line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
4704
|
use 5.008; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
35
|
|
2
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
28
|
|
3
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
52
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Text::Pipe::W3CDTF::Format; |
6
|
|
|
|
|
|
|
our $VERSION = '1.100890'; |
7
|
|
|
|
|
|
|
# ABSTRACT: Format a DateTime object into a W3CDTF date-time string |
8
|
1
|
|
|
1
|
|
5
|
use DateTime::Format::W3CDTF; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
10
|
|
9
|
1
|
|
|
1
|
|
27
|
use parent qw(Text::Pipe::W3CDTF); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
47
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub filter_single { |
12
|
1
|
|
|
1
|
1
|
1695
|
my ($self, $input) = @_; |
13
|
1
|
|
|
|
|
7
|
DateTime::Format::W3CDTF->format_datetime($input); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__END__ |