binmode STDIN, ':crlf';
In reply to Re^2: Why is my code producing weird output? by BillKSmith in thread Why is my code producing weird output? by Anonymous Monk