in reply to hash of hashes of hashes ...

I will ignore the 'print Dumper' line and concentrate on your $VAR1 (which is a hash reference).

My understanding of your question is:
'365' and '302' are examples of keys in a hash whose hash values are a reference to a hash of hashes.

To retrive the values '365' and '302' you need just use:

my @hash_refs = keys %{$VAR1};
Then again, I could be misinterpreting your question!
If you are still in doubt, post a useful code snippet.

EXAMPLE

#!/usr/bin/perl -w use strict; my $VAR1 = { '365' => { foo=>1, bar=>2 }, '302' => {} }; my @hash_refs = keys %{$VAR1}; print "My hash refs are: ".join (', ',@hash_refs)."\n"; print "The value of my hash refs are: ".join(', ', values %{$VAR1})."\ +n\n"; my %tmp = %$VAR1; print "'bar' in '365' is: ".$tmp{'365'}->{bar}."\n";

--
Graq