Some suggestions (I don't reaaly know the real problem).
if ( $drc::file1[$i] =~ /VIOLATION/ ) { $violation = getViolation ( $drc::file1[$i] ) ; if ( $drc::flag ) { $drc::rpt1{$moduleName}{$netName}{$gate}{ +"Transitio else { $drc::rpt2{$moduleName}{$netName}{$ +gate}{"Transition"} = } +# End of IF Statement
Try to check if the assignment is really executed (place a breakpoint with the debugger, or add a warn statement). Maybe the conditions never stand, so you get no data in the hash.
Also here: for ( $i = 0 ; $i <= $#drc::file1 - 1 ; $i++ ) you're not iterating through the last line, is that on purpose? Remove the - 1 if it was accidental.
In reply to Re: Hash Data Structure
by ambrus
in thread Hash Data Structure
by gautam_buddha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |