From 7adf2bcde9c5ba579260d057a84eb3974c2ee704 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 19 Oct 2006 10:27:20 +0000 Subject: [PATCH] Adjust documentation for previous change p4raw-id: //depot/perl@29049 --- pod/perlsub.pod | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.7.4