On 21/07/2011 14:03, Shlomi Fish wrote:

However, there is one problem where<IN>  will return a single line, and so
there will only be one "\n" at most, so I don't understand what he wants to
split exactly. Does he want to remove \t\n from the end of the line?

I posted much earlier to comment on this.

I am pretty sure that the original code is a perversion of

  split /\t|\n/;

which is a lazy way of losing a trailing newline without chomping first.

Rob

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to