17 sub foo { 'Foo::foo' }
25 sub foo { 'Fuz::foo => ' . (shift)->next::method }
33 sub foo { 'Bar::foo => ' . (shift)->next::method }
39 use base 'Bar', 'Fuz';
41 sub foo { 'Baz::foo => ' . (shift)->NEXT::foo }
44 is(Foo->foo, 'Foo::foo', '... got the right value from Foo->foo');
45 is(Fuz->foo, 'Fuz::foo => Foo::foo', '... got the right value from Fuz->foo');
46 is(Bar->foo, 'Bar::foo => Foo::foo', '... got the right value from Bar->foo');
48 is(Baz->foo, 'Baz::foo => Bar::foo => Fuz::foo => Foo::foo', '... got the right value using NEXT in a subclass of a C3 class');