in reply to Re: Fetch array of values from hashref
in thread Fetch array of values from hashref

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.