my @x = ("a" .. "z"); #26 elements: a ..z
my @y = splice(@x,2,3,("three","four")); #splice OUT 3 elements start
    # at 2 and replace them with the list ("three","four")
    # note the parens ensure that this is a list to be spliced in
print "@x\n"; #a b three four f g h i j k l m n o p q r s t u v w x y z 
print "@y\n"; #prints c d e - the elements that were removed 
