my $rpt = $drc::flag ? \%drc::rpt1 : \%drc::rpt2; $rpt->{$moduleName}{$netName}{$gate}{"Capacitance"} = $violation;