1 2 3 4
... my %DateName=("WarningPerFile"=> {"$resultFilePath" => "$resultFileWarning"}); push(@outputArray,%DateName); ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
$VAR1 = [
'WarningPerFile',
{
'flux.h' => '44'
},
'WarningPerFile',
{
'file.h' => '0'
},
'WarningPerFile',
{
'utils.h' => '1'
},
'WarningPerFile',
{
'mainloop.c' => '64'
},
'WarningPerFile',
{
'bootchart.c' => '23'
},
'WarningPerFile',
{
'cgroups.h' => '2'
},
'WarningPerFile',
{
'cgroups.c' => '24'
},
'WarningPerFile',
{
'file.c' => '17'
},
'WarningPerFile',
{
'gflux.h' => '0'
},
'WarningPerFile',
{
'action.c' => '23'
},
'WarningPerFile',
{
'atomic.h' => '16'
},
'WarningPerFile',
{
'rbtree.c' => '10'
},
'WarningPerFile',
{
'main.c' => '1'
},
'WarningPerFile',
{
'flux.c' => '23'
},
'WarningPerFile',
{
'log.c' => '3'
},
'WarningPerFile',
{
'utils.c' => '8'
}
];
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$VAR1 = [
'WarningPerFile',
{
'flux.h' => '44'
'file.h' => '0'
'utils.h' => '1'
'mainloop.c' => '64'
'bootchart.c' => '23'
'cgroups.h' => '2'
'cgroups.c' => '24'
'file.c' => '17'
'gflux.h' => '0'
'action.c' => '23'
'atomic.h' => '16'
'rbtree.c' => '10'
'main.c' => '1'
'flux.c' => '23'
'log.c' => '3'
'utils.c' => '8'
}
];
$hash{WarningPerFile}->{$resultFilePath} = $resultFileWarning
$hashref->{WarningPerFile}->{$resultFilePath} = $resultFileWarning