ЭЛЕКТРОННАЯ БИБЛИОТЕКА КОАПП |
Сборники Художественной, Технической, Справочной, Английской, Нормативной, Исторической, и др. литературы. |
3.2.8 binmodebinmode This function arranges for the file to be treated in binary mode on operating systems that distinguish between binary and text files. It should be called after the open but before any I/O is done on the filehandle. The only way to reset binary mode on a filehandle is to reopen the file. On systems that distinguish binary mode from text mode,
files that are read in text mode have
open WP, "$file.wp" or die "Can't open $file.wp: $!\n"; binmode WP; while (read WP, $buf, 1024) {...} |