in reply to Re: Re: Look ahead and join if the line begins with a +
in thread Look ahead and join if the line begins with a +

Of course, that simplifies to   $cleanet[-1] =~ s/\n/ $_/;,  but see merlyn's solution below.

  p