Help for this page
ELEMENT: foreach $key (keys %Contracts) ... next ELEMENT if ($Contracts{$key}[STATE] eq $ST_REPORTED +); $elapsed_time = time() - $Contracts{$key}[START]; .... lots more accesses to the $Contracts{$key} record.
ELEMENT: foreach $key (keys %Contracts) ... $elapsed_time = time() - $Cntrct_ref[START]; ...