in reply to Non-deprecated way to access multi-level hashes
If you're trying to get the values of the realname key into the @Names array, use map:
my @Names = map { $names{$_}{realname} } keys %names; [download]