initial import of half-assed half-working code
[p5sagit/Filter-Keyword.git] / t / simple.t
CommitLineData
3b08744b 1use strictures 1;
2use Test::More qw(no_plan);
3use Filter::Keyword;
4
5BEGIN {
6 (our $Kw = Filter::Keyword->new(
7 target_package => __PACKAGE__,
8 keyword_name => 'method'
9 ))->setup;
10}
11
12method main { 'YAY '.$self };
13
14my $x = "method foo bar baz";
15
16method spoon { 'I HAZ A SPOON'};
17
18warn __PACKAGE__->main;
19warn __PACKAGE__->spoon;