print @{ $hashRef }{'a','d'};