--- name: say status: documented runtime: pp source: src/runtime/pp/io.rs --- ```{index} single: say; Perl built-in (pp runtime) ``` # say ## Synopsis ```perl say "hello world"; # prints "hello world\n" say STDERR "debug info"; say $fh @data; ``` ## Description Like `print`, but automatically appends a newline after the output. Behaves identically to `print` except that a newline character is appended after all output (including any `$\` record separator). Requires `use feature 'say'` or `use v5.10` or later in perl5. Internally delegates to `pp_print`, which detects `OpCode::Say` and appends the newline to the correct filehandle. ## See also print, printf