In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/63ccd0da9435cfcf9528ac282e84220fd9375885?hp=a954e3df460caa433b7858fbbd14671eacbfc168>

- Log -----------------------------------------------------------------
commit 63ccd0da9435cfcf9528ac282e84220fd9375885
Author: Peter Martini <[email protected]>
Date:   Tue Jan 20 06:26:54 2015 -0500

    Update signatures placement in perlsub pod
-----------------------------------------------------------------------

Summary of changes:
 pod/perlsub.pod | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pod/perlsub.pod b/pod/perlsub.pod
index ea27583..0a173a1 100644
--- a/pod/perlsub.pod
+++ b/pod/perlsub.pod
@@ -15,20 +15,20 @@ X<subroutine, declaration> X<sub>
 
     sub NAME BLOCK               # A declaration and a definition.
     sub NAME(PROTO) BLOCK        #  ditto, but with prototypes
-    sub NAME SIG BLOCK            #  with signature
+    sub NAME(SIG) BLOCK           #  with a signature instead
     sub NAME : ATTRS BLOCK       #  with attributes
     sub NAME(PROTO) : ATTRS BLOCK #  with prototypes and attributes
-    sub NAME : ATTRS SIG BLOCK    #  with attributes and signature
+    sub NAME(SIG) : ATTRS BLOCK   #  with a signature and attributes
 
 To define an anonymous subroutine at runtime:
 X<subroutine, anonymous>
 
     $subref = sub BLOCK;                # no proto
     $subref = sub (PROTO) BLOCK;        # with proto
-    $subref = sub SIG BLOCK;             # with signature
+    $subref = sub (SIG) BLOCK;           # with signature
     $subref = sub : ATTRS BLOCK;        # with attributes
     $subref = sub (PROTO) : ATTRS BLOCK; # with proto and attributes
-    $subref = sub : ATTRS SIG BLOCK;     # with attribs and signature
+    $subref = sub (SIG) : ATTRS BLOCK;   # with signature and attributes
 
 To import subroutines:
 X<import>

--
Perl5 Master Repository

Reply via email to