Browse files

[glossary] explain "invocant"

  • Loading branch information...
1 parent fa25cbb commit 337a4afcfbc459e5870f7e45773b7803a668257a @moritz moritz committed Jul 10, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/glossary.pod
@@ -66,6 +66,13 @@ i.e., C<defined($instance)> is C<True>.
Or to put it another way, a class has all the blueprint of methods and
attributes, and an instance carries it forward into the real world.
+=head1 Invocant
+The object that a method is called is called the I<invocant> in Perl 6.
+It is what C<self> refers to in a method.
+ say 'str'.uc; # 'str' is the invocant of method uc
=head1 Literal
A I<literal> is a piece of code that directly stands for a (often

0 comments on commit 337a4af

Please sign in to comment.