Skip to content

Commit

Permalink
X::Syntax::Self::WithoutObject
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Aug 26, 2012
1 parent 0edd594 commit 4bb78ba
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions lib/X/Syntax/Self/WithoutObject.pod
@@ -0,0 +1,19 @@
=begin pod
=TITLE class X::Syntax::Self::WithoutObject
class X::Syntax::Self::WithoutObject does X::Syntax { }
Syntax error thrown when C<self> is referenced in a place where no
invocant is available.
For example
self
in the mainline dies with
===SORRY!===
'self' used where no object is available
=end pod

0 comments on commit 4bb78ba

Please sign in to comment.