in reply to question about "split" function
So it'll handle a set of carriage returns and newlines no matter which order they appear in. Do note, however, that if you want to preserve information on blank lines, that this won't work. It'll happily gobble up sequential end-of-line sequences...split /[\r\n]+/, $x;
...roboticus
|
|---|