| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Data::Transmute::Rules::Example; |
|
2
|
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
394406
|
use strict; |
|
|
2
|
|
|
|
|
5
|
|
|
|
2
|
|
|
|
|
97
|
|
|
4
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
502
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY |
|
7
|
|
|
|
|
|
|
our $DATE = '2024-07-17'; # DATE |
|
8
|
|
|
|
|
|
|
our $DIST = 'Data-Transmute'; # DIST |
|
9
|
|
|
|
|
|
|
our $VERSION = '0.040'; # VERSION |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our @RULES = ( |
|
12
|
|
|
|
|
|
|
[create_hash_key => {name=>'a', value=>1}], |
|
13
|
|
|
|
|
|
|
[create_hash_key => {name=>'b', value=>2}], |
|
14
|
|
|
|
|
|
|
[rename_hash_key => {from=>'c', to=>'d'}], |
|
15
|
|
|
|
|
|
|
); |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
1; |
|
18
|
|
|
|
|
|
|
# ABSTRACT: Example rules module |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |