From: Gurusamy Sarathy Date: Fri, 19 Feb 1999 05:24:29 +0000 (+0000) Subject: doc for change#2978 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=648ca4f757490a3f2865e2f7dcfcea1a1d12e25e;p=p5sagit%2Fp5-mst-13.2.git doc for change#2978 p4raw-link: @2978 on //depot/perl: 2ba6ecf407bef45da384c153231c33d524202d81 p4raw-id: //depot/perl@2979 --- diff --git a/pod/perlsub.pod b/pod/perlsub.pod index ef5a3c5..3a53573 100644 --- a/pod/perlsub.pod +++ b/pod/perlsub.pod @@ -864,8 +864,10 @@ unbackslashed C<@> or C<%> eats all the rest of the arguments, and forces list context. An argument represented by C<$> forces scalar context. An C<&> requires an anonymous subroutine, which, if passed as the first argument, does not require the "C" keyword or a subsequent comma. A -C<*> does whatever it has to do to turn the argument into a reference to a -symbol table entry. +C<*> allows the subroutine to accept a bareword, constant, scalar expression, +typeglob, or a reference to a typeglob in that slot. The value will be +available to the subroutine either as a simple scalar, or (in the latter +two cases) as a reference to the typeglob. A semicolon separates mandatory arguments from optional arguments. (It is redundant before C<@> or C<%>.)