"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 itIn reply to Re: splicing two arrays together
by i5513
in thread splicing two arrays together
by lblake
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |