Skip to content

Commit bb3688e

Browse files
committed
X::Syntax::Signature::InvocantMarker
1 parent 71855fd commit bb3688e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
=begin pod
2+
3+
=TITLE class X::Syntax::Signature::InvocantMarker
4+
5+
class X::Syntax::Signature::InvocantMarker does X::Syntax { }
6+
7+
Syntax error when the invocant in a signature is anywhere else than after the
8+
first parameter.
9+
10+
For example
11+
12+
:($a, $b: $c)
13+
14+
dies with
15+
16+
===SORRY!===
17+
Can only use : as invocant marker in a signature after the first parameter
18+
19+
See also: L<Signature>.
20+
21+
=end pod

0 commit comments

Comments
 (0)