# array slice @arr = qw(zero one two three); @arr[1,2] = (2,3) # hash slice %hash = ( one => 1, two => 2, three => 3, four => 4, ); @hash{'two','three'} = qw(two three);