in reply to keys of hash of reference to hash

Short answer:
foreach my $key (keys %{$matches->{$pid}}) {

Long answer:
You can think of $matches->{$pid} as the name of your hash. So now that you have the name, you put the hash symbol (%) in front and wrap it in curly braces to disambiguate, and you're all set.

elusion : http://matt.diephouse.com

Replies are listed 'Best First'.
Re: Re: keys of hash of reference to hash
by melguin (Pilgrim) on Jan 28, 2003 at 01:03 UTC
    Shout praises to the all-mighty {}!!!