in reply to Issues with files on a windows machine

You should call binmode $filhandle after open and before the first read.
  • Comment on Re: Issues with files on a windows machine