If you chomp the lines you read, the number of chars should be the same.
while (<FILE>) { chomp($_); $count += length($_) + 1; }
Hope this helps, -gjb-
In reply to Re: char count windows vs linux
by gjb
in thread char count windows vs linux
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |