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;
In reply to Re: Non-deprecated way to access multi-level hashes
by bobf
in thread Non-deprecated way to access multi-level hashes
by carcassonne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |