You can use either
keys %{$hashref}; values %{$hashref};
or more short syntax
keys %$hashref; values %$hashref;
In reply to Re: Getting keys/values from a referenced hash
by IlyaM
in thread Getting keys/values from a referenced hash
by professa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |