use Data::Dumper;
keyword method (ident?, proto?, block) {
-# $block->begin("warn 'hello from me';");
+ $block->begin("warn 'hello from me';");
$block->name($ident);
};
package Foobar;
use strict;
use warnings;
-use lib 'examples/';
-use Method2;
+use lib 'examples';
+use Methods;
method something ($a, $b, $c) {
- warn "oooK";
+ return 1;
};
use Test::More qw/no_plan/;
use Data::Dumper;
-Foobar->something;
+ok (Foobar->something);
ok 1;