But for your problem, more clear solution would be:my @ar = values %$h;
However, note this form is not equivalent: the order of the returned values will be random.
In reply to Re^2: Fetch array of values from hashref
by haukex
in thread Fetch array of values from hashref
by pme
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |