http://qs321.pair.com?node_id=431114

existem has asked for the wisdom of the Perl Monks concerning the following question:

Hello,
Very simple question for you, i've had a look at previous posts and documentation but can't work out how to do this. I have no problems creating a big multidimensional hash, but accessing it is a whole other story. This is the structure I have created.

$urls{'network1'}{'id'}='whatever'; $urls{'network2'}{'id'}='whatever'; $urls{'network3'}{'id'}='whatever';

I tried just looping through the keys of %urls, but then get stuck about how to access the values of the second level of the hash, i.e. the whatever bit. Any nice

foreach my $key (keys %urls) { }

style solution would be perfect. Thanks, Tom