implicit invoker, sort of
Perl
Latest commit 0d49d39 Feb 18, 2013 @clkao Checking in changes prior to tagging of version 0.34.
Changelog diff is:

diff --git a/Changes b/Changes
index ae15f8a..0f06aec 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl extension invoker

+0.34      Mon Feb 18 10:34:46 CST 2013
+        - dist fixes
+
 0.33      Sat Feb 16 17:49:12 CST 2013
         - upgrade Module::Install

README

NAME
    invoker - implicit invoker, sort of

SYNOPSIS
      use invoker;

      sub foo {
        my $self = shift;
        $->bar; # calls $self->bar;
      }

      use methods-invoker;
      method {
        $->bar # ditto
      }

DESCRIPTION
    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
    encouraged to use it in conjunction with self, selfvars,
    <Method::Signatures::Simple>, or other similar modules.

    The following syntax works:

    $->foo( .. args ...)
    $->foo
    $->$method_name
    $->$method_name( .. args ...)

CAVEATS
    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.

BUGS
TODO
    custom invoker name with "use invoker '$this'"

AUTHOR
    Chia-liang Kao <clkao@clkao.org> Audrey Tang <audreyt@audreyt.org>

LICENSE
    This library is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

SEE ALSO
    methods