From: "Sedlacek, Andrew" <[EMAIL PROTECTED]> Ahoj Andy :-) > I wrote a script to filter data from some large files. Everthing works > fine however in one case it only read half the file. It stopped > reading at a char 26 (decimal). I tried using sysread to read in each > line, which are a set length. It still stops reading at this > character. What is this character? A ascii chart shows it as > "substitute". How can I get Perl to read past it? It's a random > occurance in these files.
Did you binmode(FILEHANDLE)? Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]