X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/cb40c25d04faeb4e704ac10e016eece055ac741f..7adf2bcde9c5ba579260d057a84eb3974c2ee704:/pod/perlsub.pod?ds=sidebyside 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