File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,20 +15,20 @@ X<subroutine, declaration> X<sub>
1515
1616 sub NAME BLOCK # A declaration and a definition.
1717 sub NAME(PROTO) BLOCK # ditto, but with prototypes
18- sub NAME SIG BLOCK # with signature
18+ sub NAME( SIG) BLOCK # with a signature instead
1919 sub NAME : ATTRS BLOCK # with attributes
2020 sub NAME(PROTO) : ATTRS BLOCK # with prototypes and attributes
21- sub NAME : ATTRS SIG BLOCK # with attributes and signature
21+ sub NAME(SIG) : ATTRS BLOCK # with a signature and attributes
2222
2323To define an anonymous subroutine at runtime:
2424X<subroutine, anonymous>
2525
2626 $subref = sub BLOCK; # no proto
2727 $subref = sub (PROTO) BLOCK; # with proto
28- $subref = sub SIG BLOCK; # with signature
28+ $subref = sub ( SIG) BLOCK; # with signature
2929 $subref = sub : ATTRS BLOCK; # with attributes
3030 $subref = sub (PROTO) : ATTRS BLOCK; # with proto and attributes
31- $subref = sub : ATTRS SIG BLOCK; # with attribs and signature
31+ $subref = sub (SIG) : ATTRS BLOCK; # with signature and attributes
3232
3333To import subroutines:
3434X<import>
You can’t perform that action at this time.
0 commit comments