| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Data::Dump::Ala::SHARYANTO; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
43467
|
use 5.010001; |
|
|
1
|
|
|
|
|
6
|
|
|
|
1
|
|
|
|
|
60
|
|
|
4
|
1
|
|
|
1
|
|
9
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
53
|
|
|
5
|
1
|
|
|
1
|
|
9
|
use warnings; |
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
56
|
|
|
6
|
1
|
|
|
1
|
|
1425
|
use Data::Dump::Filtered qw(); |
|
|
1
|
|
|
|
|
9980
|
|
|
|
1
|
|
|
|
|
199
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
require Exporter; |
|
9
|
|
|
|
|
|
|
our @ISA = qw(Exporter); |
|
10
|
|
|
|
|
|
|
our @EXPORT = qw(dd); |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
our $VERSION = '0.02'; # VERSION |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub dd { |
|
15
|
|
|
|
|
|
|
# dump_filtered always prints? unlike dd |
|
16
|
|
|
|
|
|
|
Data::Dump::Filtered::dump_filtered( |
|
17
|
|
|
|
|
|
|
@_, |
|
18
|
|
|
|
|
|
|
sub { |
|
19
|
7
|
|
|
7
|
|
2435
|
my ($ctx, $oref) = @_; |
|
20
|
7
|
100
|
|
|
|
21
|
if ($ctx->class) { |
|
21
|
1
|
50
|
|
|
|
17
|
if ($oref->isa("DateTime")) { |
|
22
|
1
|
|
|
|
|
7
|
return {dump => "\"$oref\"", comment => "DateTime object"}; |
|
23
|
|
|
|
|
|
|
} |
|
24
|
|
|
|
|
|
|
} else { |
|
25
|
6
|
|
|
|
|
46
|
return; |
|
26
|
|
|
|
|
|
|
} |
|
27
|
|
|
|
|
|
|
} |
|
28
|
2
|
|
|
2
|
1
|
1685
|
); |
|
29
|
|
|
|
|
|
|
} |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
|
32
|
|
|
|
|
|
|
# ABSTRACT: Use Data::Dump to dump data à la Steven Haryanto |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |