Permalink
Browse files

Checking in changes prior to tagging of version 0.29_003.

Changelog diff is:

diff --git a/Changes b/Changes
index cd67378..414592e 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl extension invoker

+0.29_003  Sun Jan 16 02:11:31 CST 2011
+        - a saner implementation that works on more complicated statements.
+
 0.29_002  Sat Jan 15 23:42:13 CST 2011
         - Fix compiling on threaded perl
  • Loading branch information...
1 parent c87a4dd commit e61618a29e4535b25a2848cfdef337828f5477fd @clkao committed Jan 15, 2011
Showing with 8 additions and 11 deletions.
  1. +3 −0 Changes
  2. +1 −0 Makefile.PL
  3. +3 −10 README
  4. +1 −1 lib/invoker.pm
View
@@ -1,5 +1,8 @@
Revision history for Perl extension invoker
+0.29_003 Sun Jan 16 02:11:31 CST 2011
+ - a saner implementation that works on more complicated statements.
+
0.29_002 Sat Jan 15 23:42:13 CST 2011
- Fix compiling on threaded perl
View
@@ -13,6 +13,7 @@ configure_requires 'B::Hooks::OP::Check';
requires 'B::Hooks::OP::Check';
requires 'B::Hooks::EndOfScope';
+requires 'B::Hooks::Parser' => '0.07';
my $pkg = ExtUtils::Depends->new('invoker', 'B::Hooks::OP::Check');
makemaker_args($pkg->get_makefile_vars);
View
13 README
@@ -27,25 +27,18 @@ DESCRIPTION
$->foo( .. args ...)
$->foo
$->$method_name
-
- The following syntax does not work:
-
$->$method_name( .. args ...)
CAVEATS
WARNINGS WARNINGS WARNINGS
This is alpha code. Do not use in production.
- Internally, the module installs a check on the ">" (gt) op. if the left
- operand is $- (some format-related perlvar you probably shouldn't be
- using), it then replaces the optree with an appropriate entersub with
- method_named.
+ 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
- 1+$->foo will not parse right due to precedences
- $->foo + $->bar will not parse
-
TODO
custom invoker name with "use invoker '$this'"
View
@@ -6,7 +6,7 @@ use 5.010_001;
use B::Hooks::OP::Check;
use B::Hooks::EndOfScope;
-our $VERSION = "0.29_002";
+our $VERSION = "0.29_003";
use B::Hooks::Parser;
require XSLoader;

0 comments on commit e61618a

Please sign in to comment.