in reply to Re: Splice an array into another array
in thread Splice an array into another array

Could also be:

c:\@Work\Perl\monks>perl -wMstrict -le "my $dna3 = 'ATCGC'; my $dna4 = 'AAATTGC'; ;; my $offset = 1; substr $dna3, $offset, 0, $dna4; print qq{'$dna3'}; " 'AAAATTGCTCGC'