The file on your unix box is bad.
Text files in Windows end with CRLF.
Text files in unix end with LF.
You should have:
| Windows file length | 1351 |
| Linux file length | 1335 |
| Windows var length | 1335 |
| Linux var length | 1335 |
If it's not a text file, you should be using binmode on the file handle. That'll prevent the CRLF<->LF conversion.
In reply to Re: Issues with files on a windows machine
by ikegami
in thread Issues with files on a windows machine
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |