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


in reply to Re: Notepad: I'm seeing squares.
in thread Notepad: I'm seeing squares.

This is a good point.

If you are using \r\n and still seeing the squares, here is what I would recommend:

Create the file, copy it to the Windows box, then transfer the same file back to the *nix environment. Once back in the *nix environment, open it with a simple editor like vi(m) or something similar. In most cases, you will see any wierd control/Windows/Unix characters that might have gotten mixed in while transferring.

If nothing shows up, I would simply make sure you are using \r\n

---hA||ta----
print map{$_.' '}grep{/\w+/}@{[reverse(qw{Perl Code})]} or die while ( 'trying' );