From: "Morrison Davis" <[EMAIL PROTECTED]> .... > > The only problem is it counts carriage returns as 1 character > where as perl length() counts them as 2. And DBI automatically > considers anything over 4000 as a LONG.
Perhaps a newline ("\n") is getting converted to carriage return/newline ("\r\n") somewhere along the line, and you could just delete the carriage returns (s/\r//g) in your script...??