http://www.perlmonks.org?node_id=946508


in reply to splicing two arrays together

"I am not clear on why there are two 'the the'?"

That is because you are doing:

splice(@newArray3,3,0, @second[1,1]);

So you are inserting 2 elements "the" in @newArray3 at third position

See  print "@second[1,1]" output .. and slices to understand it
Regards,