On 1/21/06, Bowen, Bruce <[EMAIL PROTECTED]> wrote:

> That did not work.  I've looked into the file with a hex editor it
> that's telling me there's a
> hex 0D 0A 0D 0A after each |FS.  I've tried all of the combinations
> I can think of, none of which had any effect.  The process seems
> to work up to the first time it gets to that hex data.

Those look like DOS/Windows line-ending codes. They may be translated
into "\n" by the time that your Perl code sees them, though.

It's not hard to find out what you've really got. You can look at the
hex values of the first four characters of a string with code like
this:

    print "The start of the string is: ", unpack("H8", $string), "\n";

Does this help you to find out what's going on? Good luck!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to