line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Date::Easy; |
2
|
|
|
|
|
|
|
|
3
|
15
|
|
|
15
|
|
1687398
|
use strict; |
|
15
|
|
|
|
|
172
|
|
|
15
|
|
|
|
|
434
|
|
4
|
15
|
|
|
15
|
|
77
|
use warnings; |
|
15
|
|
|
|
|
31
|
|
|
15
|
|
|
|
|
362
|
|
5
|
15
|
|
|
15
|
|
7424
|
use autodie; |
|
15
|
|
|
|
|
234293
|
|
|
15
|
|
|
|
|
134
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.09'; # VERSION |
8
|
|
|
|
|
|
|
|
9
|
15
|
|
|
15
|
|
113704
|
use Date::Easy::Date (); |
|
15
|
|
|
|
|
45
|
|
|
15
|
|
|
|
|
413
|
|
10
|
15
|
|
|
15
|
|
106
|
use Date::Easy::Datetime (); |
|
15
|
|
|
|
|
29
|
|
|
15
|
|
|
|
|
202
|
|
11
|
15
|
|
|
15
|
|
8107
|
use Date::Easy::Units (); |
|
15
|
|
|
|
|
53
|
|
|
15
|
|
|
|
|
425
|
|
12
|
|
|
|
|
|
|
|
13
|
15
|
|
|
15
|
|
101
|
use Exporter; |
|
15
|
|
|
|
|
27
|
|
|
15
|
|
|
|
|
575
|
|
14
|
15
|
|
|
15
|
|
90
|
use parent 'Exporter'; |
|
15
|
|
|
|
|
28
|
|
|
15
|
|
|
|
|
72
|
|
15
|
|
|
|
|
|
|
our @EXPORT = ( @Date::Easy::Date::EXPORT_OK, @Date::Easy::Datetime::EXPORT_OK, @Date::Easy::Units::EXPORT_OK, ); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub import |
19
|
|
|
|
|
|
|
{ |
20
|
14
|
|
|
14
|
|
1590
|
Date::Easy::Date->import(':all'); |
21
|
14
|
|
|
|
|
136
|
Date::Easy::Datetime->import(':all', @_[1..$#_]); |
22
|
14
|
|
|
|
|
1097
|
Date::Easy::Units->import(':all'); |
23
|
14
|
|
|
|
|
51
|
@_ = (shift); # throw away all args except the first (package name) |
24
|
14
|
|
|
|
|
14663
|
goto &Exporter::import; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
# ABSTRACT: easy dates with Time::Piece compatibility |
34
|
|
|
|
|
|
|
# COPYRIGHT |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
__END__ |