I clearly said "in a Windows text file" in both of my posts.
Even in a Windows text file, newline is never simultaneously 1 character and two bytes.
I didn't read past this point in your rant, and I am done with you.
But such mistakes aren't a surprise when your reaction to a correction is to minimize your mistake and then to bury your head in the sand. :)
Confusion on these points is quite common and often leads to actual bugs (like in the head of this thread). Just go look it how many people are insisting that 'chomp strips "\r" characters'.
I think perlport does a great job of keeping this confusion high.
- tye
In reply to Re^6: different length of a line from linux and windows textfile? (heirs)
by tye
in thread different length of a line from linux and windows textfile?
by Microcebus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |