hblanken has asked for the wisdom of the Perl Monks concerning the following question:
Hello I'm relatively new to this. I have hash of an array and what to add it to a hash name pair.
Stage1Stage2push @ { $LkHigh{$name}}, $value; works!
push @( $leakHigh($PartNum}}, {%LkHigh}
when I try to print this I loose the $values in the hash array.
this is what I'm using to printforeach $PTnum (keys $leakHigh){ foreach $pin (keys %{leakHigh{$PTnum}}){ foreach $i (0 ..$#{leakHigh{$PTnum}{$pin}}){ print "$leakHigh{$PTnum}{$pin}[$i]"; }}}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: hash of hash of array
by kennethk (Abbot) on Jan 07, 2009 at 22:41 UTC |