in reply to Simple Anon Hash Query

keys needs a hash, not a hashref. You have to dereference the hashref to be left with a first-class hash:

foreach my $source ( keys %allData ) { foreach my $dest ( keys %{ $allData{$source} } ) { # access the values } }

See also perlref, perlreftut, and perldsc.


Dave