I am not a regular Perl programmer and I could not find anything about this in the forum or few books I have.

I am trying to write binary data to a file using the construct:
 print filehandle $record 

I note that all of my records truncate when an x'0A' is encountered so apparently Perl uses the LF as and end of record indicator. How can I write the complete records, using for example, a length specifier? I am worried about Perl tampering with other binary "non printables" as well.

thanks
Fritz