1 # See t/plugin_new_method_backcompat.t
2 package TestAppPluginWithConstructor;
4 use Catalyst qw/+TestPluginWithConstructor/;
6 BEGIN { extends qw/Catalyst Catalyst::Controller/ } # Ewww, FIXME.
14 our $MODIFIER_FIRED = 0;
17 before 'dispatch' => sub { $MODIFIER_FIRED = 1 }
18 } 'Can apply method modifier';