my $hashref = { one => 1, two => 2, three => 3 }; print @{$hashref}{qw/two three/};