- or download this
$cutover=(split /:/,$time)[0];
if ($date=~/\s(\d{2})/){
...
}
...
if ($hour > $cutover){
- or download this
$date=DateCalc("$date","+24 hours"); ###Takes 2min out of
+2:30min.
- or download this
$date=&UnixDate($date,"%Y-%m-%d");
- or download this
if (defined ${$report{$host}{$pol}{$sched}{$date}}){
${$report{$host}{$pol}{$sched}{$date}}=${$report{$host}{$p
+ol}{$sched}{$date}}+$error;
}else{
${$report{$host}{$pol}{$sched}{$date}}=$error;
}
- or download this
my $rep_date = $report{$host}{$pol}{$sched}{$date};
...
# defined ${ $rep_date } ? ${ $rep_date } . $error
# : $error
# ;