in reply to sorting an array

sorry for the confusion what im trying to do is this
@array = (***1***, stuff1, stuff1b, ***end1***, ***2***, stuff 2, stuf +f2b, ***end2*** ...)
I want that to go to
@newarray = (stuff1stuff1b, stuff2stuff2b)
hope that clears it up a bit thanks