| 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__ | ||