|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: splicing two arrays togetherby i5513 (Monk) |
| on Jan 06, 2012 at 00:36 UTC ( #946508=note: print w/ replies, xml ) | Need Help?? |
|
"I am not clear on why there are two 'the the'?" That is because you are doing:
So you are inserting 2 elements "the" in @newArray3 at third position See print "@second[1,1]" output .. and slices to understand itRegards,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||