I'm on mod_perl, attempting to write-out a file previously slurped with read_file. File length is, say 1024 bytes, but when I download the file, it turns out to be 1025 bytes long.
I changed print $content; to print '1'; and the output I get is "1\x0A".
I don't know how to get rid of that, it was mangling my uploads too but I worked around that with read_file. For reasons unknown, I can't use write_file on STDOUT.
Any ideas to get rid of that \x0A?
In reply to Trash in my prints by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |