in reply to Strange join behavior

From your description I don't understand what the difference is, and why you seem to think that it's a strange join behaviour (sounds more like a bug in Mail::Audit, if there is any).

Could you please provided a minimal, working sample script that demonstrates this?

Replies are listed 'Best First'.
Re^2: Strange join behavior
by canoock (Initiate) on Dec 04, 2007 at 12:11 UTC
    I am sorry for not identifying the difference more clearly. In the raw input to join there is ... SB11966 +351958= 6211071 ..... The result is ... SB11966 +35195= 86211071 The 8 has shifted from before "=" to after "-". In both cases, "-" is followed by newline. I do not know if it is a bug in Mail::Audit - that is why I am asking the question. The full code segment is:
    use Mail::Audit; my $item = Mail::Audit->new(); my $body = $item->body; $tbody = join('',@$body);
      Well, I went back to the code and printed the source array / and you are right, it appears that the error is already contained there and not in join as I suggested (wrongly) in the heading of my question.