hotti: Problem mit Tie::Scalar

Beitrag lesen

hallo zu später Stunde,

den Fehler konnte ich soweit eingrenzen:

sysopen($FH, $file, O_RDWR|O_CREAT);

kürzt die Datei von 4 auf 3 Byte, wenn 4 byte drinstehen mit dem Wert 0x1A (dezimal 26).

Verwende ich
sysopen($FH, $file, O_RDONLY);
wird die Datei nicht vermurkst; wäre ja noch schöner, aber ich will ja auch schreiben und ggf. anlegen.

Falls jemand noch eine Idee hat:
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2001, Larry Wall

Binary build 638 provided by ActiveState Corp. http://www.ActiveState.com
ActiveState is a division of Sophos.
Built Apr 13 2004 19:24:21

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using man perl' or perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

Danke für Hinweise,
Horst Ratlos