line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: Bubblegum Wrapper around Data Dumping |
2
|
|
|
|
|
|
|
package Bubblegum::Wrapper::Dumper; |
3
|
|
|
|
|
|
|
|
4
|
5
|
|
|
5
|
|
2835
|
use 5.10.0; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
188
|
|
5
|
5
|
|
|
5
|
|
308
|
use Bubblegum::Class; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
36
|
|
6
|
|
|
|
|
|
|
|
7
|
5
|
|
|
5
|
|
4804
|
use Data::Dumper (); |
|
5
|
|
|
|
|
9413
|
|
|
5
|
|
|
|
|
875
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
extends 'Bubblegum::Object::Instance'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.45'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub decode { |
14
|
1
|
|
|
1
|
1
|
581
|
my $self = shift; |
15
|
1
|
|
|
|
|
138
|
return eval $self->data; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub encode { |
19
|
5
|
|
|
5
|
1
|
4045
|
my $self = shift; |
20
|
5
|
|
|
|
|
47
|
return Data::Dumper->new([$self->data]) |
21
|
|
|
|
|
|
|
->Indent(0)->Sortkeys(1)->Terse(1)->Dump; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |