in reply to Re^2: splitting cvs file without line breaks
in thread splitting cvs file without line breaks

using / * instead of / + might result in too many linefeeds being inserted.

Agreed.

And why do you use \r\n insteat of just \n

Well, that's because... well, er... :-)
You're right again, probably inserting $/ makes more sense. But I've seen csv files that use "\r\n" as record separator, and "\n" as newlines inside fields.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}