Skip to content

Commit 71855fd

Browse files
committed
X::Syntax::Variable::Match
1 parent 10c196a commit 71855fd

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

lib/X/Syntax/Variable/Match.pod

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
=begin pod
2+
3+
=TITLE class X::Syntax::Variable::Match
4+
5+
class X::Syntax::Variable::Match does X::Syntax { }
6+
7+
Syntax error thrown when a match variable like C<< $<thing> >> was declared.
8+
9+
For example
10+
11+
my $<thing>;
12+
13+
dies with
14+
15+
===SORRY!===
16+
Cannot declare a match variable
17+
18+
=end pod

0 commit comments

Comments
 (0)