keys%{{@A,reverse@A}} # Then again... keys%{{map{$_,$_}@A}} # Maybe it's a tie with tye.