in reply to Newbie to PERL removing text from array
It seems to me that you can split on whitespaces, and then join only those elements together that you want to preserve.