# given a hash: my %hash = (one => 1, two => 2); # the slice: print @hash{"one", "two"}; # is equivalent to: print $hash{"one"}, $hash{"two"};