my @a = (a..g); print "@a\n"; splice @a, ($#a+1)/2, 0, (1..5); print "@a\n"; [download]
In reply to Re: Re: insertion of array element by damian1301 in thread insertion of array element by Anonymous Monk