in reply to Re^2: file truncate not working on 128GB file in Windows
in thread file truncate not working on 128GB file in Windows
> (Win32) If a FILEHANDLE is supplied, it must be writable and opened in append mode (i.e., use open(my $fh, '>>', 'filename') or sysopen(my $fh, ..., O_APPEND|O_RDWR). If a filename is supplied, it should not be held open elsewhere.
Probably that's an indication what's going wrong with TinyPerl. And are you sure the file isn't opened otherwise?
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
|
|---|