# Define the CRLF sequence.  I can't use a simple "\r\n" because the meaning # of "\n" is different on different OS's (sometimes it generates CRLF, sometimes LF # and sometimes CR).  The most popular VMS web server # doesn't accept CRLF -- instead it wants a LR.  EBCDIC machines don't # use ASCII, so \015\012 means something different.  I find this all # really annoying. $EBCDIC = "\t" ne "\011"; if ($OS eq 'VMS') {  $CRLF = "\n"; } elsif ($EBCDIC) {  $CRLF= "\r\n"; } else {  $CRLF = "\015\012"; }