in reply to
inserting a list into an array
The
splice
looks correct to me, but what does seem to be confusing is that comment says you want to insert between
$it
and
$it + 1
, but the code uses
$it2
.
Abigail
Comment on
Re: inserting a list into an array
Select
or
Download
Code
In Section
Seekers of Perl Wisdom