Split on /[\n\r]+/ (but this doesn't keep blank input lines), /\r?\n/ (technically not quite correct), or, if you're using 5.10 (and why wouldn't you?), /\R/.
In reply to Re: Doing a split// but not working
by JavaFan
in thread Doing a split// but not working
by ultranerds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |