From: Rafael Garcia-Suarez Date: Thu, 19 Oct 2006 10:27:20 +0000 (+0000) Subject: Adjust documentation for previous change X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7adf2bcde9c5ba579260d057a84eb3974c2ee704;p=p5sagit%2Fp5-mst-13.2.git Adjust documentation for previous change p4raw-id: //depot/perl@29049 --- diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 47ea666..083b9a8 100644 --- a/pod/perlsub.pod +++ b/pod/perlsub.pod @@ -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 is parsed as a true list