in reply to
A Splice of life
I think this is what you want:
my $z = splice (@ary,2,0,$x);
[download]
This will insert "how about this" at position 2 of the string and not remove any chars (the 0). You could check
here
also. Good luck.
perl -e 'print reverse qw/o b n a e s/;'
Comment on
Re: A Splice of life
Download
Code
In Section
Seekers of Perl Wisdom