Just another Perl shrine | |
PerlMonks |
perlfunc:syswriteby gods (Initiate) |
on Aug 24, 1999 at 22:43 UTC ( [id://324]=perlfunc: print w/replies, xml ) | Need Help?? |
syswriteSee the current Perl documentation for syswrite. Here is our local, out-dated (pre-5.6) version: syswrite - fixed-length unbuffered output to a filehandle
syswrite FILEHANDLE,SCALAR,LENGTH,OFFSET syswrite FILEHANDLE,SCALAR,LENGTH
Attempts to write
LENGTH bytes of data from variable
SCALAR to the specified
FILEHANDLE, using the system call
An OFFSET may be specified to write the data from some part of the string other than the beginning. A negative OFFSET specifies writing that many bytes counting backwards from the end of the string. In the case the SCALAR is empty you can use OFFSET but only zero offset. |
|