in reply to Re: File::Binary and Carriage-Return issue
in thread File::Binary and Carriage-Return issue
>perl -MFile::Binary -wle"File::Binary->new('>file')->put_ui8(0xa0);" >debug file -rcx CX 0001 : -d100 l1 0B04:0100 A0 . -q
Also, I cannot see how it's possible from looking at the source. binmode is getting called.
Could you provide us with a minimal amount of runnable code that give you the problem? Are you sure you're following the instructions?
Will try and set binmode for the handle on if possible (i.e if the object has a binmode method) otherwise you should do it yourself.
IO::Handle objects don't have a binmode method, so you need to call binmode on it before passing the handle to ->new/->open.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: File::Binary and Carriage-Return issue
by mickeyn (Priest) on Mar 04, 2009 at 13:23 UTC | |
by ikegami (Patriarch) on Mar 04, 2009 at 13:27 UTC | |
by mickeyn (Priest) on Mar 04, 2009 at 13:39 UTC |