in reply to Accessing Hashes
foreach my $key (keys %{$hash{test}}){ print $key."\n"; } [download]
Update: You'll want to read perlfunc:keys
C-.