Skip to content

Commit 19f2c5a

Browse files
committed
X::Syntax::P5
1 parent 4bb78ba commit 19f2c5a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

lib/X/Syntax/P5.pod

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
=begin pod
2+
3+
=TITLE class X::Syntax::P5
4+
5+
class X::Syntax::P5 does X::Syntax { }
6+
7+
Syntax error thrown when some piece of code is clearly Perl 5, not Perl 6.
8+
9+
For example
10+
11+
for my $a (1, 2) { }
12+
13+
dies with
14+
15+
===SORRY!===
16+
This appears to be Perl 5 code
17+
18+
19+
=end pod

0 commit comments

Comments
 (0)