You should check the return values and error codes of your system calls. sysopen might fail (and return false) e. g. if there are permission problems. syswrite might not write all of your data for some reason and then return how many data has been written, which would explain your problem. It might even write nothing (maybe because the device is full) and return undef and set $! to an explanation. If your device is full, that would explain what your program is doing during the last 23 to 28 seconds: Unsuccessfully try to write stuff and ignore the errors.
See perldoc -f syswrite
In reply to Re: FILE IO, delay after finish.
by betterworld
in thread FILE IO, delay after finish.
by exodist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |