Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* Regenerate README and bump version

  • Loading branch information...
commit a8091af055c363728ee0aa4c84ac068f086122dd 1 parent ff65cd1
@audreyt audreyt authored
Showing with 5 additions and 6 deletions.
  1. +4 −5 README
  2. +1 −1  lib/invoker.pm
View
9 README
@@ -15,7 +15,7 @@ SYNOPSIS
# }
DESCRIPTION
- the invoker pragma enables the "$->" syntax for invoking methods on
+ The invoker pragma enables the "$->" syntax for invoking methods on
$self , inspired by Perl6's "$.method" invocation.
The module does not inject the $self variable for you. you are
@@ -30,13 +30,12 @@ DESCRIPTION
$->$method_name( .. args ...)
CAVEATS
- WARNINGS WARNINGS WARNINGS
-
- This is alpha code. Do not use in production.
+ Regular hash access must still be written as "$self->{attr}" instead of
+ "$->{attr}".
Internally, the module installs a parser hook to replace "$->" ($- and
the gt operator) with $--> (an invocation on the $- perlvar. It also
- injects an entersub hook to replace $- with $self .
+ injects an "entersub" hook to replace $- with $self.
BUGS
TODO
View
2  lib/invoker.pm
@@ -6,7 +6,7 @@ use 5.010_001;
use B::Hooks::OP::Check;
use B::Hooks::EndOfScope;
-our $VERSION = "0.31";
+our $VERSION = "0.32";
use Devel::Declare;
require XSLoader;
Please sign in to comment.
Something went wrong with that request. Please try again.