14 before foo => sub { $before_ran = 1 };
15 after foo => sub { $after_ran = 1 };
17 my ($orig, $self, @rest) = @_;
31 ok(!$ModifyFoo::before_ran, 'before has not run yet');
32 ok(!$ModifyFoo::after_ran, 'after has not run yet');
33 ok(!$ModifyFoo::around_ran, 'around has not run yet');
35 ok($ModifyFoo::before_ran, 'before ran');
36 ok($ModifyFoo::after_ran, 'after ran');
37 ok($ModifyFoo::around_ran, 'around ran');