in reply to Re: Problem cycling through top level of nested hashes
in thread Problem cycling through top level of nested hashes
I end up with:
However, I will be using:$VAR1 = { 'R1' => { }, 'R2' => { } ... }; $VAR1 = { 'R1' => { }, 'R2' => { } ... }; ...
Because it gives me the option to easily pass the hash name (i.e. '34k') as a string.foreach my $lig (keys %{$ligHash}) { findIntersection($ligHash->{$lig}, $lig); }
Did either of you intend on a different output? If so I would be interested in that as well.
|
|---|