in reply to Re^3: Not a HASH reference error
in thread Not a HASH reference error

main::awc_db2_mgmt_kick running uncatalog for dcs entries
'dcs' => [ {} ],

So your problem is that $hashref->{'dcs'} is a reference to an Array of Hashes (AoH)

my $type_hash = $hashref->{$type}; # not a hash ref foreach my $item (keys %{$type_hash}) { # can't de-ref to hash
poj