Skip to content

Commit 4bb78ba

Browse files
committed
X::Syntax::Self::WithoutObject
1 parent 0edd594 commit 4bb78ba

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

lib/X/Syntax/Self/WithoutObject.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::Self::WithoutObject
4+
5+
class X::Syntax::Self::WithoutObject does X::Syntax { }
6+
7+
Syntax error thrown when C<self> is referenced in a place where no
8+
invocant is available.
9+
10+
For example
11+
12+
self
13+
14+
in the mainline dies with
15+
16+
===SORRY!===
17+
'self' used where no object is available
18+
19+
=end pod

0 commit comments

Comments
 (0)