We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dc7ead commit bc76642Copy full SHA for bc76642
lib/X/Signature/Placeholder.pod
@@ -0,0 +1,28 @@
1
+=begin pod
2
+
3
+=TITLE class X::Signature::Placeholder
4
5
+ class X::Signature::Placeholder does X::Comp
6
7
+Compile time error thrown when a block has both an explicit signature
8
+and placeholder parameters.
9
10
+For example
11
12
+ sub f() { $^x }
13
14
+dies with
15
16
+ ===SORRY!===
17
+ Placeholder variable '$^x' cannot override existing signature
18
19
+=head1 Methods
20
21
+=head2 placeholder
22
23
+ method placeholder() returns Str:D
24
25
+Returns the name of a placeholder that was used in a block that already
26
+had a signature.
27
28
+=end pod
0 commit comments