diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-10-19 10:27:20 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-10-19 10:27:20 +0000 |
commit | 7adf2bcde9c5ba579260d057a84eb3974c2ee704 (patch) | |
tree | 5fbaa2c5cf6339944da4725138ca0e4e18e3de8b /pod/perlsub.pod | |
parent | cb40c25d04faeb4e704ac10e016eece055ac741f (diff) | |
download | perl-7adf2bcde9c5ba579260d057a84eb3974c2ee704.tar.gz |
Adjust documentation for previous change
p4raw-id: //depot/perl@29049
Diffstat (limited to 'pod/perlsub.pod')
-rw-r--r-- | pod/perlsub.pod | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 47ea666fc2..083b9a8af8 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<mygrep()> is parsed as a true list |