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


in reply to Perl Files Corrumpted

When opening those perl files with a code editor now I dont see my code but the mess you normally see when you accidently transferred a perl file in binary mode

What does that mean? Using FTP's binary mode (between non-EBCDIC systems), the worse that will happen is the line endings getting messed up. Is that what you mean?

Care to give a dump of a portion of the file? Maybe something like

od -c file | head -30