Perl write Function



Description

This function writes a formatted record, as specified by format to FILEHANDLE. If FILEHANDLE is omitted, then writes the output to the currently selected default output channel. Form processing is handled automatically, adding new pages, headers, footers, and so on, as specified by the format for the filehandle.

Syntax

Following is the simple syntax for this function −

write FILEHANDLE

write

Return Value

This function returns 0 on failure and 1 on success.

perl_function_references.htm
Advertisements