Scripting
>>
Perl
>>
How to loop through a hash given it's hash reference
eg. given $hash contains the hash variable reference
foreach $k (keys %{$hash})
{
print $k;
}
Please enable JavaScript to view the
comments powered by Disqus.