16 sub foo { 'Foo::foo' }
24 sub foo { 'Fuz::foo => ' . (shift)->next::method }
32 sub foo { 'Bar::foo => ' . (shift)->next::method }
38 use base 'Bar', 'Fuz';
40 sub foo { 'Baz::foo => ' . (shift)->NEXT::foo }
43 is(Foo->foo, 'Foo::foo', '... got the right value from Foo->foo');
44 is(Fuz->foo, 'Fuz::foo => Foo::foo', '... got the right value from Fuz->foo');
45 is(Bar->foo, 'Bar::foo => Foo::foo', '... got the right value from Bar->foo');
47 is(Baz->foo, 'Baz::foo => Bar::foo => Fuz::foo => Foo::foo', '... got the right value using NEXT in a subclass of a C3 class');