As told in above replies, you're trying to print the hash ref, if you want to be printed as numeric values ( hash key value 11 or 12 or ) use the print statement as,
print "\n $key = ", ( keys %{$samplehash{$key}});
Ganeshwari
Comment on Re: Print the key of the first hash table in hash of hashes