Answering my own question: 
 
my $eol = "\r\n";
 
\r\n becomes 0D0A.   
    -C 
 
-----Original Message-----
From: McMahon, Christopher x66156 
Sent: Tuesday, June 24, 2003 10:35 AM
To: '[EMAIL PROTECTED]'
Subject: help sending hex EOL chars


Hi...
    My TCP/IP server is printing input fine, now I'm trying to send the
right output.  
    The client for my server expects an EndOfLine character that is a hex
0D0A.  (zero-dee-zero-ay) My code is doing this:  
 
my $eol = "\x{0D0A}";
 
    but the client is seeing this: 
 
E0B4 8A
 
    Any idea what I'm doing wrong?  
-Chris   

_
This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

Reply via email to