and join('\r',...).split(/\r/,...)
Or you could use \xnn form and give it's hexa code.
Update: thanks to Corion:Change the '\r' in the join up there to "\r" - I had a braindead moment - of course the single quotes don't interpolate the backslash notation.
In reply to Re: Web and newlines, aka perl vs ^M
by matija
in thread Web and newlines, aka perl vs ^M
by Eyck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |