in reply to Web and newlines, aka perl vs ^M

join("^M",@outdata); instead of join(/^M/,@outdata); seems to be part of solution...