perl-unicode

Re: perlio probs

2005-09-23 11:52:55

On Sep 22, 2005, at 10:28 PM, Martin Hosken wrote:
Does anyone have any experience of a bug I've encountered in 5.8.7 only whereby occasionally (which is what makes it hard to report) this type of code:

$fh = IO::File->new("< input.dat") || die;
binmode $fh;
   # lots of code, even to different package

$fh->read($dat, $num_bytes);

does utf-8 conversion on $dat !!

It's a shot in the dark, but is there any correlation between the screwup and the value of the utf8 flag on $dat prior to the read call?

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/



<Prev in Thread] Current Thread [Next in Thread>
  • perlio probs, Martin Hosken
    • Re: perlio probs, Marvin Humphrey <=