http://www.perlmonks.org?node_id=511129


in reply to Notepad: I'm seeing squares.

\r\n should work for Windows. The problem could be in the way you're transferring the file between the two systems.