Skip to content
This repository
Browse code

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

…ents
  • Loading branch information...
commit 2230db7a0820cf2aaf4d184965289601f497b3fe 1 parent 7fb26ae
Moritz Lenz authored July 12, 2012

Showing 1 changed file with 4 additions and 5 deletions. Show diff stats Hide diff stats

  1. 9  S32-setting-library/IO.pod
9  S32-setting-library/IO.pod
Source Rendered
@@ -217,7 +217,7 @@ Stringifies each element, concatenates those strings, and sends the
217 217
 result to the output.
218 218
 Returns C<Bool::True> if successful, C<Failure> otherwise.
219 219
 
220  
-The compiler will warn you if use a bare C<print> without arguments.
  220
+The compiler will warn you if use a bare sub C<print> without arguments.
221 221
 (However, it's fine if you have an explicit argument list that evaluates to
222 222
 the empty list at runtime.)
223 223
 
@@ -233,14 +233,13 @@ X<say>
233 233
     multi say (*@LIST --> Bool)
234 234
 
235 235
 This is identical to print() except that it stringifies its arguments by calling
236  
-C<.gist> on them and auto-appends the C<output-line-separator> after the final
237  
-argument.
  236
+C<.gist> on them and auto-appends a newline after the final argument.
238 237
 
239 238
     Was:    print "Hello, world!\n";
240 239
     Now:    say   "Hello, world!";
241 240
 
242  
-As with C<print>, the compiler will warn you if you use a bare C<say> without
243  
-arguments.
  241
+As with C<print>, the compiler will warn you if you use a bare sub C<say>
  242
+without arguments.
244 243
 
245 244
 =item printf
246 245
 X<printf>

0 notes on commit 2230db7

Please sign in to comment.
Something went wrong with that request. Please try again.