Tutorials Point


  Perl Home

  PERL Functions

© 2013 TutorialsPoint.COM


  Home     References     About TP     Advertising  

PERL write Function



Advertisements

Syntax

write FILEHANDLE

write


Definition and Usage

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.

Return Value

  • 0 on failure

  • 1 on success



Advertisements


  

Advertisements