Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Perl Programming/Keywords/say

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Perl s scalar Keywords The say keyword say is similar to print, but adds automatically a newline character. Using a real FILEHANDLE like FH instead of an indirect one like $fh without a LIST results in printing the contents of $_ to the file. To use this command, a use 5.10 should be added. Syntax say FILEHANDLE LIST say FILEHANDLE say LIST say Examples The code $a = "I am waiting for you! "; $b = "You are late again. "; print $a; print $b; say $a; say $b; returns I am waiting for you! You are late again. I am waiting for you! You are late again. See also print printf sprintf Perl s scalar Keywords