I remember reading somewhere in this thread that \r and \n have reversed semantics on the Mac (vs. *nix, Windows).
So maybe we really want the following: split(/ \r\n | \n\r | \r | \n /x); # (yoicks!)
My $0.02,
-- jkahn
In reply to Re: Re: Re: Handling Mac, Unix, Win/DOS newlines at readtime...
by jkahn
in thread Handling Mac, Unix, Win/DOS newlines at readtime...
by strredwolf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |