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 278a4cd commit 0edd594Copy full SHA for 0edd594
lib/X/Syntax/Variable/Twigil.pod
@@ -0,0 +1,33 @@
1
+=begin pod
2
+
3
+=TITLE class X::Syntax::Variable::Twigil
4
5
+ class X::Syntax::Variable::Twigil does X::Syntax { }
6
7
+Syntax error thrown when a variable with a twigil is used in an incompatible
8
+declaration.
9
10
+For example
11
12
+ my $!foo
13
14
+dies with
15
16
+ ===SORRY!===
17
+ Cannot use ! twigil on my variable
18
19
+=head1 Methods
20
21
+=head2 twigil
22
23
+ method twigil() returns Str:D
24
25
+Returns the twigil that was illegally used
26
27
+=head2 scope
28
29
+ method scope() returns Str:D
30
31
+Returns the scope that did not harmonize with the twigil.
32
33
+=end pod
0 commit comments