write
write filehandle
Writes a formatted record (possibly multiline) to
the specified filehandle
, using the
format associated with that filehandle (see Section 4.11). By default,
the format for a filehandle is the one having the same name as the
filehandle.
If filehandle
is unspecified,
output goes to the current default output filehandle, which starts
as STDOUT but may be changed by the select
operator. If the
filehandle
is an expression, then the
expression is evaluated to determine the actual
filehandle
at runtime.
Note that write
is not
the opposite of read
. Use
print
for simple string output.
If you want to bypass standard I/O, see syswrite .
18.118.186.202