Mega Code Archive

 
Categories / Perl / Language Basics
 

Syntax for the print Function

syntax                           Description print FILEHANDLE list;           Print to FILEHANDLE the data in list print FILEHANDLE;                Print the contents of the default special variable $_ to FILEHANDLE print list;                      Print to the default selected file handle the data in list print;                           Print to the default selected file handle (STDOUT at startup) the contents of the default special variable $_