shekarkcb has asked for the wisdom of the Perl Monks concerning the following question:
I have a data structure which looks like this, And its a Hash which has arrayrefs as values. (based on inside array[4] i got to sort this structure.
Where i am looking at writing these values to excel using SpreadSheet::WriteExcel, and the values are sorted.$VAR1 = { '10857' => [ '10857', 'Test-host1', '192.168.162.124', undef, undef, undef, undef, 'Timeout while connecting to "192.168.162.124:1 +61"' ], '10715' => [ '10715', 'Test-Host2', '192.168.162.146', 'checkPing[{HOST.IP}]', '108', '108', '2014-04-01 20:24:01', '' ], '10778' => [ '10778', 'Test-Host3', '192.168.162.144', 'checkPing[{HOST.IP}]', '392', '359', '2014-04-01 20:21:12', '' ] '10582' => [ '10582', 'Test-Host3', '192.168.162.95', 'icmppingsec', '117.390000', '116.493000', '2014-04-01 20:23:03', '' ], };
undef, 108, 392, 117.390000
|
|---|