Permalink
Browse files

Merge branch 'master' of github.com:audreyt/methods

Conflicts:
	Changes
	lib/methods.pm
  • Loading branch information...
2 parents 5c295e8 + 6f4390c commit b3873da4e3a0ba51014db5443bcee48e0395c6d0 @audreyt committed Apr 26, 2012
Showing with 18 additions and 0 deletions.
  1. +4 −0 Changes
  2. +1 −0 Makefile.PL
  3. +13 −0 t/methods-invoker.t
View
@@ -3,6 +3,10 @@
* Switch to namespace::sweep instead of namespace::autoclean
to retain compatibility with "use overload". (@clkao)
+[Changes for 0.03 - Tue Jul 5 06:49:16 CST 2011]
+
+* Add "use methods-invoker" optional flags to load invoker.pm as well.
+
[Changes for 0.02 - Sun Jun 19 18:00:41 CST 2011]
* Add auto-importing to true.pm as well.
View
@@ -4,4 +4,5 @@ requires $_ for qw(
true::VERSION
namespace::sweep
Method::Signatures::Simple
+ invoker
);
View
@@ -0,0 +1,13 @@
+#!perl -T
+use Test::More tests => 1;
+use methods-invoker;
+method moose () {
+ $self->foo;
+}
+method foo () {
+ $->bar;
+}
+method bar () {
+ ok(1, '$->method and $self->method both works');
+}
+__PACKAGE__->moose;

0 comments on commit b3873da

Please sign in to comment.