Permalink
Browse files

Merge pull request #4 from audreyt/master

* Slight POD typo fixups, and remove the "alpha code" line.
  • Loading branch information...
2 parents a400d6a + 8f387f8 commit ff65cd182be5b416c11ceada5dec06d3109481cf @clkao committed Feb 9, 2012
Showing with 5 additions and 6 deletions.
  1. +5 −6 lib/invoker.pm
View
@@ -71,7 +71,7 @@ invoker - implicit invoker, sort of
=head1 DESCRIPTION
-the invoker pragma enables the C<< $-> >> syntax for invoking methods
+The invoker pragma enables the C<< $-> >> syntax for invoking methods
on C< $self >, inspired by Perl6's C<< $.method >> invocation.
The module does not inject the C< $self > variable for you. you are
@@ -94,14 +94,13 @@ The following syntax works:
=head1 CAVEATS
-WARNINGS WARNINGS WARNINGS
-
-This is alpha code. Do not use in production.
+Regular hash access must still be written as C<< $self->{attr} >>
+instead of C<< $->{attr} >>.
Internally, the module installs a parser hook to replace C<< $-> >>
(C<$-> and the gt operator) with $--> (an invocation on the C< $- >
-perlvar. It also injects an entersub hook to replace C< $- > with
-C<$self >.
+perlvar. It also injects an C<entersub> hook to replace C< $- > with
+C<$self>.
=head1 BUGS

0 comments on commit ff65cd1

Please sign in to comment.