Mega Code Archive

 
Categories / Perl / String
 

The printf formats a string and prints it to the given file handle

printf FILEHANDLE (format_string, data...); If you omit the file handle, printf outputs to the default-currently selected-file handle. printf("%s\n", "This is a string");