Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[S32] clarify that only sub forms of say and print warn without argum…

…ents
  • Loading branch information...
commit 2230db7a0820cf2aaf4d184965289601f497b3fe 1 parent 7fb26ae
@moritz moritz authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 S32-setting-library/IO.pod
View
9 S32-setting-library/IO.pod
@@ -217,7 +217,7 @@ Stringifies each element, concatenates those strings, and sends the
result to the output.
Returns C<Bool::True> if successful, C<Failure> otherwise.
-The compiler will warn you if use a bare C<print> without arguments.
+The compiler will warn you if use a bare sub C<print> without arguments.
(However, it's fine if you have an explicit argument list that evaluates to
the empty list at runtime.)
@@ -233,14 +233,13 @@ X<say>
multi say (*@LIST --> Bool)
This is identical to print() except that it stringifies its arguments by calling
-C<.gist> on them and auto-appends the C<output-line-separator> after the final
-argument.
+C<.gist> on them and auto-appends a newline after the final argument.
Was: print "Hello, world!\n";
Now: say "Hello, world!";
-As with C<print>, the compiler will warn you if you use a bare C<say> without
-arguments.
+As with C<print>, the compiler will warn you if you use a bare sub C<say>
+without arguments.
=item printf
X<printf>
Please sign in to comment.
Something went wrong with that request. Please try again.