Adjust documentation for previous change
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 19 Oct 2006 10:27:20 +0000 (10:27 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 19 Oct 2006 10:27:20 +0000 (10:27 +0000)
p4raw-id: //depot/perl@29049

pod/perlsub.pod

index 47ea666..083b9a8 100644 (file)
@@ -1101,8 +1101,9 @@ follows:
 A semicolon (C<;>) separates mandatory arguments from optional arguments.
 It is redundant before C<@> or C<%>, which gobble up everything else.
 
-As the last character of a prototype, you can use C<_> in place of C<$>:
-if this argument is not provided, C<$_> will be used instead.
+As the last character of a prototype, or just before a semicolon, you can
+use C<_> in place of C<$>: if this argument is not provided, C<$_> will be
+used instead.
 
 Note how the last three examples in the table above are treated
 specially by the parser.  C<mygrep()> is parsed as a true list