W3CDTF/Parse.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 1 / 1 totaltotal 100% 25 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« W3CDTF/Format.pm ↑ Summary
1 2 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Text::Pipe::W3CDTF::Parse;
6 2 our $VERSION = '1.100890';
7 # ABSTRACT: Parse a W3CDTF date-time string into a DateTime object
8 2 ▶use DateTime::Format::W3CDTF;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 ▶use parent qw(Text::Pipe::W3CDTF);
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶sub filter_single {
Subroutine filter_single: called CC=1 SCAR=0.0
Pod documented
12 1 my ($self, $input) = @_;
13 1 DateTime::Format::W3CDTF->parse_datetime($input);
14 }
15 2 1;
16  
17  
18 __END__
« W3CDTF/Format.pm ↑ Summary