dbs has asked for the wisdom of the Perl Monks concerning the following question:
@days_between contains 2 elements: 18 and 2 or days between 2 diff dates from today.$GSPmsgHash{$date} = [ $alertLv,$src,$srcD,$probD ];
Please help! thanks!!!push (@ {$GSPmsgHash{$date} }, @days_between); # perl HPMP_mark3_parselogs.plx 2 # of elements: [ 18, 2 ] $VAR1 = { DATE: 01/20/2012 TIME: 21:12:38 ' => [ ALERT LEVEL: 6 = Boot possible, pending failure - action required ', SOURCE: 4 = power ' ', SOURCE DETAIL: 4 = high voltage DC power SOURCE ID: FF ', PROBLEM DETAIL: 7 = illegal power supply type ' ', 18, 2 ], DATE: 02/05/2012 TIME: 07:50:19 ' => [ ALERT LEVEL: 2 = Non-Urgent operator attention required ', SOURCE: 0 = unknown, no source stated ' ', SOURCE DETAIL: 0 = unknown, no source stated SOURCE ID: FF ', PROBLEM DETAIL: 0 = no problem detail ' ' ] };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: add data to HoA
by Riales (Hermit) on Feb 07, 2012 at 21:29 UTC | |
by dbs (Sexton) on Feb 07, 2012 at 22:03 UTC | |
by Riales (Hermit) on Feb 07, 2012 at 22:21 UTC | |
by dbs (Sexton) on Feb 08, 2012 at 21:49 UTC | |
by Riales (Hermit) on Feb 08, 2012 at 22:08 UTC | |
| |
|
Re: add data to HoA
by Anonymous Monk on Feb 07, 2012 at 21:17 UTC |