keys %h = @a; @h{ @a } = ... ; # do something useful